mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
## How to reproduce? 1. Refer this commit, which contains the web demo to capture screen as video stream through RTC. 2. Copy the `trunk/research/players/whip.html` and `trunk/research/players/js/srs.sdk.js` to replace the `develop` branch source code. 3. `./configure && make` 4. `./objs/srs -c conf/rtc2rtmp.conf` 5. open `http://localhost:8080/players/whip.html?schema=http` 6. check `Screen` radio option. 7. click `publish`, then check the screen to share. 8. play the rtmp live stream: `rtmp://localhost/live/livestream` 9. check the video stuttering. ## Cause When capture screen by the chrome web browser, which send RTP packet with empty payload frequently, then all the cached RTP packets are dropped before next key frame arrive in this case. The OBS screen stream and camera stream do not have such problem. ## Add screen stream to WHIP demo ><img width="581" alt="Screenshot 2024-08-28 at 2 49 46 PM" src="https://github.com/user-attachments/assets/9557dbd2-c799-4dfd-b336-5bbf2e4f8fb8"> --------- Co-authored-by: winlin <winlinvip@gmail.com> |
4 months ago | |
---|---|---|
.. | ||
css | 11 years ago | |
img | 11 years ago | |
js | 4 months ago | |
api-server_index.html | 2 years ago | |
crossdomain.xml | 11 years ago | |
index.html | 2 years ago | |
nginx_index.html | 10 years ago | |
rtc_player.html | 7 months ago | |
rtc_publisher.html | 7 months ago | |
srs-http-server_index.html | 2 years ago | |
srs_bwt.html | 7 months ago | |
srs_chat.html | 7 months ago | |
srs_gb28181.html | 7 months ago | |
srs_player.html | 7 months ago | |
srs_player_deprecated.html | 7 months ago | |
srs_publisher.html | 7 months ago | |
srs_publisher_flash.html | 7 months ago | |
vlc.html | 7 months ago | |
whep.html | 7 months ago | |
whip.html | 4 months ago |