Skip to content
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

WebRTC: Chrome HEVC support #4178

Open
shuwang-focusai opened this issue Sep 16, 2024 · 3 comments · May be fixed by #4289
Open

WebRTC: Chrome HEVC support #4178

shuwang-focusai opened this issue Sep 16, 2024 · 3 comments · May be fixed by #4289
Assignees
Labels
EnglishNative This issue is conveyed exclusively in English. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.

Comments

@shuwang-focusai
Copy link

SRS 6.0 already supports a lot HEVC functions, but not RTMP2WebRTC because Chrome/FireFox don't support HECV in WebRTC.

From current report, Chrome will launch the feature to support HEVC in WebRTC (https://issues.chromium.org/issues/341986313).
Is there any plan for SRS to support RTMP2WebRTC in HEVC? Thanks!

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Sep 16, 2024
@winlinvip
Copy link
Member

Patch welcome.

@winlinvip winlinvip self-assigned this Sep 18, 2024
@winlinvip winlinvip changed the title RTMP2WebRTC HEVC support WebRTC: Chrome HEVC support Sep 18, 2024
@winlinvip winlinvip added the WebRTC WebRTC, RTC2RTMP or RTMP2RTC. label Sep 18, 2024
@duiniuluantanqin
Copy link
Member

The pull request #4289 introduces support for HEVC over WebRTC. Please wait patiently for it to be merged.

@duiniuluantanqin duiniuluantanqin linked a pull request Mar 4, 2025 that will close this issue
@zapf2000
Copy link

zapf2000 commented Mar 5, 2025

It should work if you start Chrome like this: chrome.exe --enable-features=PlatformHEVCEncoderSupport,WebRtcAllowH265Receive,WebRtcAllowH265Send --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled

It's not enabled by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants