Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

H264 packetizationMode array in RtpCodecCapability #567

@ibc

Description

@ibc

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions