Tech-invite3GPPspaceIETFspace
21222324252627282931323334353637384‑5x

Content for  TS 26.114  Word version:  18.5.0

Top   Top   Up   Prev   Next
0…   3…   4…   5…   6…   6.2.3…   6.2.5…   6.2.7…   6.2.10…   7…   7.5…   8…   9…   10…   10.2.1.6…   10.2.2…   10.3…   10.4…   11…   12…   12.3…   12.7…   13a…   16…   16.5…   17…   18…   19…   A…   A.3…   A.4…   A.5…   A.10…   A.14…   A.15…   B…   C…   C.1.3…   C.1.3.5   C.2…   D   E…   E.18…   E.31…   G…   K…   L…   M…   N…   O…   P…   P.3   Q…   R…   S…   T…   U…   V…   W…   X…   Y…   Y.6…   Y.6.4…   Y.6.5…   Y.7…

 

C.2  Example criteria for video bit rate feedback and adaptation |R8|p. 325

C.2.1  Introductionp. 325

This Annex gives the outline of possible example adaptation criteria that make use of adaptation signalling for video as described in clause 10.3. Several different adaptation implementations are possible and the example criteria shown in this clause are not to be seen as an adaptive scheme excluding other designs. Implementers are free to use these example criteria or to use any other adaptation algorithm as long as the requirements and recommendations specified in clause 10.3 are fulfilled. The description of the example criteria is split into two parts, one for the media sender side and one for the media receiver side.
Up

C.2.2  Media sender sidep. 325

The basic rate adaptation algorithm on the media sender side serves to combine the received RTCP TMMBR and RTCP Receiver Report or Sender Report in a way that makes adaptation possible in the presence of any or both of the aforementioned reports. One important aspect is that the TMMBR reports will serve as an upper limit on the permitted bitrate while RTCP Receiver or Sender Reports provide a means for temporary adjustments based on e.g. the packet loss rate in a given interval. Note that the actual bitrate limit will also depend on the bandwidth attribute in the SDP. Typically adjustments of the permitted bitrate due to TMMBR reports are less frequent than adjustments due to RTCP Receiver or Sender Reports The media sender may use the following conditions to adjust its video transmission rate:
  1. Upon receiving a TMMBR message the media sender sets its maximum transmission rate to the requested rate.
  2. If the requested rate in the TMMBR message is greater than the current video transmission rate the media sender (gradually) increases its transmission rate to the requested rate in the TMMBR message.
  3. Examining the RTCP Receiver Report and Sender Report information to determine whether finer adaptations can be made to the video transmission rate. For example, the media sender may reduce its video transmission rate in response to an increase in the packet loss rate.
  4. Reducing the video transmission rate if the media sender determines that the local radio uplink throughput is decreasing, e.g. detecting congestion in the uplink transmission buffers or examining other indicators of uplink quality.
  5. Other conditions
Up

C.2.3  Media receiver sidep. 326

The basic rate adaptation algorithm on the media receiver side may consist of both the well-established RFC 3550 RTCP RR and SR reporting (which is not described further) and the estimation and sending of TMMBR to the sender. Transmission of TMMBR reports is typically less frequent than RTCP Receiver Reports or Sender Reports.
The media receiver may use the following conditions to send a TMMBR message requesting a reduction in video transmission rate
  1. The video packets are arriving too close to or too late for their scheduled playout
  2. The receiver detects an unacceptably high packet loss rate
  3. The receiver detects that the received bitrate has been reduced
  4. Other conditions
The MTSI media receiver may use the following conditions to send a TMMBR requesting an increase in video transmission rate
  1. The video packets are arriving earlier than needed for their scheduled playout
  2. Other conditions
Care must be taken when sending consecutive TMMBR messages to accommodate the media sender's reaction to previously sent TMMBR messages. When doing this, the media receiver should account for delays in the transmission of TMMBR messages due to RTCP bandwidth requirements.
Up

C.2.4  Video encoder bitrate adaptation, down-switch |R12|p. 326

As described in clause 10.3.4.2, the video encoder may not be able to immediately change the sending bitrate to the requested bitrate, especially if this also requires changing the frame rate and/or the video resolution. During this period, the generated bitrate is higher than the channel capacity which means that excessive bits (excess_bits) are generated and the corresponding RTP packets will be queuing up at the node where the congestion occurs. Figure C.8 gives a simplified schematic description of the encoder bitrate adaptation. The encoder bitrate is here shown with straight lines. In reality, the amount of data generated by the encoder will vary from frame to frame and the bitrate will then vary around the bitrate shown in this Figure. These bitrate variations are not considered in this description but needs to be considered in the real implementation.
The encoder uses the bitrate of the previous channel capacity (prev_rate) as long as the sender is unaware of the reduced channel capacity. When the TMMBR message is received, the encoder starts reducing the bitrate towards the new channel capacity (new_rate). Since the bitrate indicated in the TMMBR message includes the IP/UDP/RTP overhead then this needs to be removed. The encoder bitrate is then reduced even further for a while to gain back the delay caused by the queue build-up.
Reproduction of 3GPP TS 26.114, Fig. C.8: Schematic figure of bitrate reduction in video encoder when the encoder cannot immediately switch to the requested bitrate
Up
The upper limit requirement (excess_bits_wc) for how many excessive bits that is allowed to be generated during the adaptation time is defined by the Worst-Case Adaptation Algorithm, which corresponds to the rectangle ABCD while the recommendation (0.5 * excess_bits_wc) is defined by the triangle ABC.
The amount of excessive bits that are generated corresponds to the area of the triangle ABE. As can be seen in the Figure, the measurement window (measurement_window) is here longer than the worst case adaptation time (adapt_time_wc) which is used for defining the requirement limit and the recommendation limit for the excessive bits. In this example, the encoder bitrate is not reduced fast enough to fulfil the recommendation but the requirement is fulfilled. This shows that it is allowed to use an adaptation time that is longer than the time used for defining the requirement and recommendation, as long as the amount of excessive bits does not exceed the limit.
After the encoder bitrate has been reduced to the new bitrate then the encoder needs to reduce the bitrate even further to form the beginning of the delay recovery period. The length of the delay recovery period depends on the amount of excessive bits that have been generated and how much lower the encoding bitrate is compared to the new channel capacity.
In reality, the queue starts to build up even before the sender has received the TMMBR message, which is here shown by the rectangle ABFG. The sender can estimate the excessive bits generated during this period from the RTCP Receiver Reports and can then compensate for this by extending the delay recovery period.
Up

C.2.5  Video encoder bitrate adaptation, receiver-driven up-switch |R12|p. 327

When the channel is being under-utilized by the sender, it is likely that the delivery of video packets will occur before they actually need to be played out at the receiver. Therefore, the sender rate could be increased and introduce some additional delay without negatively affecting the system or the user experience.
The excess bits (excess_bits) that can be introduced into the transmission path can be computed as follows in the case that the channel bandwidth is equal to the average receiving rate measured at the receiver, i.e., the worst case with no spare channel bandwidth available:
3GPP 26.114 (C.2.5-1) formula
(C.2.5-1)
where:
rate_increase_step is the bitrate with which the sending rate is increased;
RTT is the Round-Trip Time;
and
receiver_detection_delay is the time needed to detect if congestion occurs, see Figure C.8.
The corresponding worst case excess delay (excess_delay_wc) due to excess_bits equals:
3GPP 26.114 (C.2.5-2) formula
(C.2.5-2)
where:
avg_receiving_rate is the average throughput as measured by the receiver.
Therefore, if the receiver determines the amount of allowable excess delay (excess_delay_allowable) from the received video packets, it can calculate the amount of rate increase that would not congest the system as:
3GPP 26.114 (C.2.5-3) formula
(C.2.5-3)
Since the one-way delay from sender to receiver is generally unknown to the receiver, it cannot use this to calculate the allowable excess delay. Instead the receiver measures the amount of time between when a packet arrives and when it is scheduled to be played out to determine how much additional delay is acceptable. This metric is actually more accurate from a user-experience perspective since this directly determines whether the video information in received packets can actually be displayed to the user without degradation.
The bitrate to request (requested_rate) in TMMBR is then:
3GPP 26.114 (C.2.5-4) formula
(C.2.5-4)
Before sending the TMMBR message with the requested rate, the receiver needs to verify that the requested rate does not exceed the bitrate that was negotiated in SDP offer/answer.
Up

C.2.6  Video encoder bitrate adaptation, recovery phase |R12|p. 328

The delay recovery rate (delay_recovery_rate) and delay recovery period (delay_recovery_period) can be determined as follows. Let
3GPP 26.114 (C.2.6-1) formula
(C.2.6-1)
where: ƒU (0 < ƒU <1) is the rate undershoot factor and may depend on the magnitude of the channel rate drop (ΔR) is:
3GPP 26.114 (C.2.6-2) formula
(C.2.6-2)
For example, if ΔR is large, then ƒU may be proportionally large or if ΔR is small, then ƒU may be proportionally small, for example:
3GPP 26.114 (C.2.6-3) formula
(C.2.6-3)
Assuming that the bits during time period ΔT = time(E) - time(F) are queued up and are contributing to the delay, the delay recovery period ΔTu can be computed as follows:
3GPP 26.114 (C.2.6-4) formula
(C.2.6-4)
A minimum bit rate requirement for the encoder may exist that applies to delay_recovery_rate and, therefore, also to ƒU as follows:
3GPP 26.114 (C.2.6-5) formula
(C.2.6-5)
and therefore:
3GPP 26.114 (C.2.6-6) formula
(C.2.6-6)
with:
3GPP 26.114 (C.2.6-7) formula
(C.2.6-7)
If during the delay recovery period a TMMBR message is received that carries a new rate value (new_rate), and new_rate is significantly larger than new_rate, for example new_rate2 ≥1.2*new_rate, then the delay recovery period may be shortened. Conversely, if new_rate2 < new_rate then an extended delay recovery period can be computed.
Up

Up   Top   ToC