srs icon indicating copy to clipboard operation
srs copied to clipboard

WebRTC: Chrome HEVC support

Open shuwang-focusai opened this issue 1 year ago • 1 comments

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!

shuwang-focusai avatar Sep 16 '24 17:09 shuwang-focusai

Patch welcome.

winlinvip avatar Sep 18 '24 11:09 winlinvip

The pull request https://github.com/ossrs/srs/pull/4289 introduces support for HEVC over WebRTC. Please wait patiently for it to be merged.

duiniuluantanqin avatar Mar 04 '25 08:03 duiniuluantanqin

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.

zapf2000 avatar Mar 05 '25 20:03 zapf2000

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.

Yes, for additional details, please refer to: https://github.com/ossrs/srs/pull/4289#issue-2852838971

TRANS_BY_GPT4

duiniuluantanqin avatar Apr 04 '25 09:04 duiniuluantanqin