My application is sending live video to AMS so for that I used Netstream.attachCamera(camera)
I can able to send live video through NetStream.publish("myStreamingURL', "live");
I stopped netsteaming by using NetStream.close()
method, now my problem is I want to stop my live video If NetStream has stopped its publishing streaming. How can I detect NetStream is stopped its publishing of data?
Asked
Active
Viewed 569 times
0

Sathish
- 1,147
- 3
- 10
- 20
1 Answers
0
Try adding a listener for NetStatusEvent
and check within the listener for event.info.code
.

codingbuddha
- 707
- 5
- 16