質問

I have created a simple multicast player using actinscript 3 which works fine and plays multicast stream well . Although when stream should fail . Or even if I stop Flash Media server it returns success codes : "NetConnection.Connect.Success" ,"NetStream.Connect.Success" and "NetStream.Play.Start" . I cant detect it when multicast stream fails in flash player. I need to switch to unicast stream if multicast fails and I cant detect a failure because of wrong status.

Why I am getting wrong status ?

役に立ちましたか?

解決

I was finally able to figure this out from this link http://forums.adobe.com/message/4999537#4999537 . I now use NetStream.MulticastStream.Reset along with a timeout of 10 seconds .

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top