You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!!! Before submitting a new bug report, please ensure you have searched for any existing bugs. Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.
Describe the bug
serve error code=1098(StreamDisposing)(Stream is disposing)
After the stream is triggered to dispose, subsequent attempts to push the stream will continuously fail.
The SrsLiveSource::on_publish function changed the value of can_publish_ to false and returned an error (serve error code=1098(StreamDisposing)(Stream is disposing) : service cycle : rtmp: stream service : handle publish : http mount : stream is disposing). Because an error was returned, the SrsRtmpConn::publishing function did not call release_publish, resulting in can_publish_ remaining false.
Subsequently, when attempting to stream again, because can_publish_ is set to false, all subsequent streaming attempts will fail.
TRANS_BY_GPT4
The text was updated successfully, but these errors were encountered:
winlinvip
changed the title
推流触发Stream is disposing后,后续的推流就会一直失败
After the stream is triggered to dispose, subsequent attempts to push the stream will continuously fail.
Oct 24, 2024
!!! Before submitting a new bug report, please ensure you have searched for any existing bugs. Duplicate issues or
questions that are overly simple or already addressed in the documentation will be removed without any
response.
Describe the bug
serve error code=1098(StreamDisposing)(Stream is disposing)
After the stream is triggered to dispose, subsequent attempts to push the stream will continuously fail.
Version
6.0release
Additional context
SrsRtmpConn::publishing
->acquire_publish
->SrsLiveSource::on_publish
The
SrsLiveSource::on_publish
function changed the value ofcan_publish_
to false and returned an error (serve error code=1098(StreamDisposing)(Stream is disposing) : service cycle : rtmp: stream service : handle publish : http mount : stream is disposing). Because an error was returned, theSrsRtmpConn::publishing
function did not callrelease_publish
, resulting incan_publish_
remaining false.Subsequently, when attempting to stream again, because
can_publish_
is set to false, all subsequent streaming attempts will fail.TRANS_BY_GPT4
The text was updated successfully, but these errors were encountered: