RTCOutboundRtpStreamStats: totalEncodedBytesTarget property

Deprecated

Avoid using this feature in new projects. This feature may be a candidate for removal from web standards or browsers.

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

The totalEncodedBytesTarget property of the RTCOutboundRtpStreamStats dictionary represents the sum of the target frame sizes for all of the frames encoded so far.

The codec has a target maximum size for each frame that it is asked to compress, in bytes. This property indicates the cumulative total of the target sizes for each frame at the current time. This will probably differ from the total of the actual frame sizes. You can compare to bytesSent in order to estimate how closely the codec is matching its target.

The value increases every time framesEncoded goes up.

Note: The property is undefined for audio streams.

Value

The sum of the target frame sizes in bytes, represented as a positive integer.

Specifications

This feature does not appear to be defined in any specification.

Browser compatibility