Answered
Republished live stream plays then freezes -- SOLVED!
Hi all,
Can someone kindly help me with this problem?
I have written an application that republishes a live stream. When I connect to the republished stream, I can view it for about 30 seconds and then it freezes when the subscriber receives a "NetStream.Play.UnpublishNotify" for no apparent reason.
Here is a stripped-down version of the application the reproduces the problem:
main.asc:
application.onAppStart = function()
{
var stream = Stream.get("republish");
stream.play("publish", -1, -1);
}
When the capture client publishes to "publish" and the subscribing client subscribes to "republish" the live stream plays for about 30 seconds and then freezes when it receives a "NetStream.Play.UnpublishNotify" message. I am at my wits end with this problem. :(
Any and all replies are much appreciated.
Thanks in advance,
Barry
Can someone kindly help me with this problem?
I have written an application that republishes a live stream. When I connect to the republished stream, I can view it for about 30 seconds and then it freezes when the subscriber receives a "NetStream.Play.UnpublishNotify" for no apparent reason.
Here is a stripped-down version of the application the reproduces the problem:
main.asc:
application.onAppStart = function()
{
var stream = Stream.get("republish");
stream.play("publish", -1, -1);
}
When the capture client publishes to "publish" and the subscribing client subscribes to "republish" the live stream plays for about 30 seconds and then freezes when it receives a "NetStream.Play.UnpublishNotify" message. I am at my wits end with this problem. :(
Any and all replies are much appreciated.
Thanks in advance,
Barry
