You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
By implementing this, I've found that having packetizationMode as an array of integers in the capability codec of H264 is not comfortable at all.
Currently, a browser can expose its H264 capabilities with a single codec capability entry containing packetizationMode: [ 0, 1 ] but the fact is that, depending which value is chosen, that is a different codec+configuration. However, the browser may want to call rtpSender.send() with both codec_A (H264 + packetizationMode: 0) and codec_B (H264 + packetizationMode: 1) so it needs TWO different preferredPayloadTypes for them, rather than a single one.
By implementing this, I've found that having
packetizationModeas an array of integers in the capability codec of H264 is not comfortable at all.Currently, a browser can expose its H264 capabilities with a single
codec capabilityentry containingpacketizationMode: [ 0, 1 ]but the fact is that, depending which value is chosen, that is a different codec+configuration. However, the browser may want to callrtpSender.send()with both codec_A (H264 +packetizationMode: 0) and codec_B (H264 +packetizationMode: 1) so it needs TWO differentpreferredPayloadTypesfor them, rather than a single one.