ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.

Home Page:https://ossrs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is a problem with the handling of 'source' for forward/hls/hds/dvr/trancode reload.

zhengfl opened this issue · comments

When performing a reload operation on forward/hls/hds/dvr/transcode, it is necessary to determine whether the stream is being pushed (origin) or pulled (edge). If the stream is already disconnected, there is no need to perform a reload operation.

TRANS_BY_GPT3

Assignee to Li Qiang, Feilong will make the changes whenever he is free. If it is not changed before the release, I will make the changes.

TRANS_BY_GPT3

Reproduction steps:
Streaming (forward/hls/dvr... start) --> Stop streaming (forward/hls/dvr... stop) --> Modify configuration (forward/hls/dvr...) --> Reload (forward/hls/dvr started again)

TRANS_BY_GPT3

Replay is succeed.