Skip to content

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

@winlinvip

Description

@winlinvip

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

Metadata

Metadata

Assignees

Labels

TransByAITranslated by AI/GPT.WebRTCWebRTC, RTC2RTMP or RTMP2RTC.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions