1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Should check bridger status when publish stream.

This commit is contained in:
winlin 2021-03-05 16:47:47 +08:00
parent c143b6bfd0
commit fc4f539907
2 changed files with 4 additions and 0 deletions

View file

@ -433,6 +433,8 @@ void SrsRtcStream::on_consumer_destroy(SrsRtcConsumer* consumer)
bool SrsRtcStream::can_publish()
{
// TODO: FIXME: Should check the status of bridger.
return !is_created_;
}