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

WebRTC: Play stucked when republish. There is a chance of playback freezing when republishing. #3167

Closed
winlinvip opened this issue Sep 3, 2022 · 1 comment
Assignees
Labels
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Milestone

Comments

@winlinvip
Copy link
Member

winlinvip commented Sep 3, 2022

SRS 4.0.259
SRS 5.0.59

Replay steps:

  1. Publish by WebRTC.
  2. Play by WebRTC.
  3. Republish by WebRTC.
  4. Play randomly stucked.

Error log:

[2022-09-03 13:11:57.198][Warn][45488][11101ih6][35] play send packets=1, nn=1/1, err: code=5014 : audio track, SSRC=2328670552, SEQ=10808 : raw send : srtp protect : rtp protect r0=10
thread [45488][11101ih6]: send_packet() [/Users/video/git/srs/trunk/src/app/srs_app_rtc_conn.cpp:729][errno=35]
thread [45488][11101ih6]: on_rtp() [/Users/video/git/srs/trunk/src/app/srs_app_rtc_source.cpp:2747][errno=35]
thread [45488][11101ih6]: do_send_packet() [/Users/video/git/srs/trunk/src/app/srs_app_rtc_conn.cpp:2675][errno=35]
thread [45488][11101ih6]: protect_rtp() [/Users/video/git/srs/trunk/src/app/srs_app_rtc_dtls.cpp:1115][errno=35]

It stucked for a while, and resume successfully sometimes.

TRANS_BY_GPT3

@winlinvip winlinvip added the WebRTC WebRTC, RTC2RTMP or RTMP2RTC. label Sep 3, 2022
@winlinvip winlinvip self-assigned this Sep 3, 2022
@winlinvip winlinvip changed the title WebRTC: Play randomly stucked when republish. 重推流有概率播放卡死 WebRTC: Play stucked when republish. 重推流有概率播放卡死 Sep 3, 2022
winlinvip added a commit to winlinvip/srs that referenced this issue Sep 3, 2022
@winlinvip winlinvip added this to the 4.0 milestone Sep 3, 2022
@winlinvip
Copy link
Member Author

Fixed

winlinvip added a commit to winlinvip/srs that referenced this issue Sep 3, 2022
@winlinvip winlinvip changed the title WebRTC: Play stucked when republish. 重推流有概率播放卡死 WebRTC: Play stucked when republish. There is a chance of playback freezing when republishing. Jul 29, 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
TransByAI Translated by AI/GPT. WebRTC WebRTC, RTC2RTMP or RTMP2RTC.
Projects
None yet
Development

No branches or pull requests

1 participant