set WebRTC video codec H.264 profile-level-id to 42e01f to be compatible with Firefox clients.

This commit is contained in:
Miroslav Šedivý 2022-09-13 22:21:56 +02:00
parent f512b97708
commit d5863d8b95

View File

@ -110,7 +110,7 @@ func H264() RTPCodec {
MimeType: webrtc.MimeTypeH264,
ClockRate: 90000,
Channels: 0,
SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42001f",
SDPFmtpLine: "level-asymmetry-allowed=1;packetization-mode=1;profile-level-id=42e01f",
RTCPFeedback: RTCPFeedback,
},
// https://gstreamer.freedesktop.org/documentation/x264/index.html