bluenviron / mediamtx

Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy, record and playback video and audio streams.
MIT License
10.69k stars 1.39k forks source link

Support streaming H265 over WebRTC #3386

Closed bouk closed 1 month ago

bouk commented 1 month ago

Describe the feature

Currently trying to stream H265 over WebRTC leads to the stream doesn't contain any supported codec, which are currently AV1, VP9, VP8, H264, Opus, G722, G711. go2rtc supports streaming H265 over WebRTC for Safari (with some caveats) and it would be cool if mediamtx also supported it!

aler9 commented 1 month ago

This won't be done as it would benefit less than 5% of users and cause the remaining 95% to open issues in order to find out why H265 is advertised as supported but they cannot use it.

My advice is to switch as most as possible to a patent-free code like AV1 or VP9.