ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.7k stars 5.28k forks source link

SRS only supports H.264 Baseline profile in WebRTC, not High profile #4078

Closed Tangpriest closed 1 week ago

Tangpriest commented 3 weeks ago

I have been exchanging SDP information between WebRTC and SRS and noticed that the encoding only supports the H.264 Baseline profile. It appears that SRS does not support the High profile for H.264. Can you confirm if this is the case?

jiang335 commented 3 weeks ago

The function SrsRtcConnection::negotiate_publish_capability() is hardcoded to only support the codec 42e01f.

TRANS_BY_GPT4