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

HEVC: webrtc support hevc on safari. v6.0.34 #3441

Merged

Conversation

chundonglinlin
Copy link
Member

@chundonglinlin chundonglinlin commented Mar 1, 2023

This PR is for HEVC over WebRTC, right now only Safari.

Note that Chrome/Firefox/Edge does not support HEVC over WebRTC, for detail, please see #465

First, please build SRS with HEVC support:

./configure --h265=on
make
./objs/srs -c conf/rtc.conf

Then, please enable HEVC for WebRTC in Safari, Develop > Experimental Features > WebRTC H265 codec

image

Next, open webrtc://127.0.0.1/live/livestream?codec=hevc in Safari to push WebRTC stream to SRS:

image

Now, open webrtc://127.0.0.1/live/livestream?codec=hevc in Safari to pull the WebRTC stream.

image

If want to view the log for Safari WebRTC:

image

image

@chundonglinlin chundonglinlin changed the title HEVC: webrtc support hevc in safari. HEVC: webrtc support hevc on safari. Mar 1, 2023
@winlinvip winlinvip added the ReadyToMerge Can be merged with the final review. label Mar 6, 2023
@winlinvip winlinvip changed the title HEVC: webrtc support hevc on safari. HEVC: webrtc support hevc on safari. v6.0.34 Mar 7, 2023
@winlinvip winlinvip merged commit 2708752 into ossrs:develop Mar 7, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ReadyToMerge Can be merged with the final review. TransByAI Translated by AI/GPT.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants