-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does SRS support push HEVC/H.265 over WebRTC(whip) using OBS ? #4263
Comments
I think it's a bug, HEVC/H.264 over WebRTC is supported by SRS, but when it is the WHIP publish, the code will force RTC downgrade to H.264 during srs/trunk/src/app/srs_app_rtc_conn.cpp Lines 2754 to 2757 in 7416134
There's a recent related issue #4259 , which is publish by GB28181 with HEVC, but play offer said SRS only support H.264. |
I made a mistake, I didn't add codec=hevc in the whip url parameters. After I did this, It worked |
oh, I just knows that. |
push stream was successful, but it still cannot be played normally in Chrome, even though I have turned on hardware-accelerated video decode flag. can you try it? |
I I found a way to play the hevc stream over WebRTC in chrome. Add two param to start chrome "--enable-features=WebRtcAllowH265Receive --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled". |
Describe the bug
Does SRS support push HEVC/H.265 over WebRTC using OBS ? I don't know whether SRS or OBS does not support push HEVC/H.265 over WebRTC ?
Version
SRS 6.0.155
The text was updated successfully, but these errors were encountered: