NetStream.Publish.BadName in EventListener

QUESTION:

When I close a stream connection (on the publisher) and connect it again it worked, but when I disconnect my internet connection (for testing) then reconnect and refresh the page, it gave me: NetStream.Publish.BadName in EventListener.

 

ANSWER:

When a broadcaster stops publishing, there still may be clients connected, especially if there is any buffering or lag between publishing and subscribing. As long as the stream is still active, the broadcaster can't re-publish to that live stream. The broadcaster has to wait until the stream is no longer active before re-broadcasting with the same stream ID. You will also see the stream listed if you go to the subscribe page of your server until it has been totally cleared.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.