```bash C:\Program Files\Google\Chrome\Application>"C:\Program Files\Google\Chrome\Application\chrome.exe" --enable-features=WebRtcAllowH265Receive --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled open -a "Google Chrome" --args --enable-features=WebRtcAllowH265Receive --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled ``` > Note: The latest Chrome browser (version 136) fully enables this by default, so there's no need to launch it with any extra parameters. ```bash ./objs/srs -c conf/rtmp2rtc.conf ``` ```bash ffmpeg -stream_loop -1 -re -i input.mp4 -c:v libx265 -preset fast -b:v 2000k -maxrate 2000k -bufsize 4000k -bf 0 -c:a aac -b:a 128k -ar 44100 -ac 2 -f flv rtmp://localhost/live/livestream ``` ```bash http://localhost:1985/rtc/v1/whep/?app=live&stream=livestream ```  sendrecv offer ```bash --enable-features=WebRtcAllowH265Send,PlatformHEVCEncoderSupport,WebRtcAllowH265Receive --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled ``` sendonly offer ```bash --enable-features=WebRtcAllowH265Send,PlatformHEVCEncoderSupport ``` recvonly offer ```bash --enable-features=WebRtcAllowH265Receive --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled ``` * Browser Test for supporting H265 https://webrtc.github.io/samples/src/content/peerconnection/change-codecs/  * How to test Safari: https://github.com/ossrs/srs/pull/3441 * Debug in Safari  --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: winlin <winlinvip@gmail.com> Co-authored-by: john <hondaxiao@tencent.com> --------- Co-authored-by: chundonglinlin <chundonglinlin@163.com> Co-authored-by: john <hondaxiao@tencent.com> |
||
|---|---|---|
| .. | ||
| Architecture.md | ||
| CHANGELOG.md | ||
| Dockers.md | ||
| Features.md | ||
| ffmpeg-logo.png | ||
| ffmpeg-min.png | ||
| PERFORMANCE.md | ||
| README.md | ||
| readme.txt | ||
| Resources.md | ||
| source.200kbps.768x320.flv | ||
| source.flv | ||
| srs-logo.ico | ||
| srs-logo.png | ||