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

chrome is supported h265 #744

Open
liusuyi2021 opened this issue Dec 11, 2024 · 1 comment
Open

chrome is supported h265 #744

liusuyi2021 opened this issue Dec 11, 2024 · 1 comment

Comments

@liusuyi2021
Copy link

Supported browsers
The server can ingest and broadcast with WebRTC a wide variety of video and audio codecs (that are listed at the beginning of the README), but not all browsers can publish and read all codecs due to internal limitations that cannot be overcome by this or any other server.

In particular, reading and publishing H265 tracks with WebRTC was not possible until some time ago due to the lack of browser support. The situation recently improved and can be described as following:

Safari on iOS and macOS fully supports publishing and reading H265 tracks

Chrome on Windows supports publishing and reading H265 tracks when a GPU is present and when the browser is launched with the following flags:
chrome.exe --enable-features=PlatformHEVCEncoderSupport,WebRtcAllowH265Receive,WebRtcAllowH265Send --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled

Mediamtx already supports the H265 WebRTC protocol, can WebRTC streamer also support it

@mpromonet
Copy link
Owner

Hi @liusuyi2021

It might work using -o to forward encoded stream and -W to set trial fields.

Best Regards
Michel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants