Skip to content

After version 4.0.95, webrtc streaming fails. #2362

Closed
@duiniuluantanqin

Description

@duiniuluantanqin

Description'

Please ensure that the markdown structure is maintained.

Please describe the issue you encountered here.
'
Make sure to maintain the markdown structure.

When there is no stream published, the webrtc play operation will immediately return an error. The error log is as follows.

  1. SRS version: 4.0.95
  2. The log of SRS is as follows:
add player : no play relations
  1. The configuration of SRS is as follows:
rtc.conf

Replay

How to replay bug?

Steps to reproduce the bug

How to replay bug?

  1. Start SRS.
  2. Pull the stream through WebRTC.

Expected Behavior

> Please describe your expectation

> When webrtc play occurs, do not immediately end this request even if there is no publish. This way, when there is a publish, the video can be played without having to request again.

TRANS_BY_GPT3

Metadata

Metadata

Labels

BugIt might be a bug.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