I play stream serverside from another Adobe Media Server in an application that I wrote and than I publish that stream to Multicast application . When I republish stream , if stream already exists after sometimes it was receiving Unpublish.Success and it was stopping multicast stream , So I added Stream.destroy if stream already exist but that doesnt fix the issue either and now multicast application just clears published steram after about 2 minutes .
How can I make sure that republished streams are done properly ?
Does any one came across a siimilar issue ? Republishing stream sometimes fails and sometimes is ended after about 5 minutes . I see random NetStream.UnPublish.Success every 5 minutes after a stream is republished and timestamp matches up to second for 5 minute disconnects . Is there any cleanup process or time out that is closing stream as it was published previously ?