News for hackers. Stuff that matters.
Re:How to stream media using WebRTC and FFmpeg, and why it's... by doubleorseven on Saturday January 30, 2021 @03:50PM (#25972858)
Isn't Opus the only codec WebRTC supports? If so, I think it's another main parameter to note.
Re:How to stream media using WebRTC and FFmpeg, and why it's... by opencl on Saturday January 30, 2021 @04:25PM (#25973153)
It's not the only codec, but it's the only high quality codec mandated by the spec and supported by all the browsers.

G711 is also mandated by the spec but it's a low quality codec intended for speech with a fixed 8kHz sampling rate. There are a few other codecs supported by Chrome and Safari but not Firefox.

Re:How to stream media using WebRTC and FFmpeg, and why it's... by oplav on Saturday January 30, 2021 @05:04PM (#25973448)
H264 is also supported though it's limited to the Constrained Baseline profile [0]. That said, I have been able to use an H264 stream encoded with a Main profile that still worked in Chrome, so it could just be a strong recommendation.

https://developer.mozilla.org/en-US/docs/Web/Media/Formats/W...