Copy link to clipboard
Copied
When you stop live streaming, is there a way to have the client player present an end of stream or off-line message?
Right now when I stop streaming, the client plays the last part of the stream and then just buffers endlessly.
Copy link to clipboard
Copied
something like this?
conn = new NetConnection();
conn.addEventListener(NetStatusEvent.NET_STATUS, onStatus);
private function onStatus(e:NetStatusEvent😞void {
switch(e.info.code) {
case "NetStream.Play.StreamNotFound":
//some code
break;
case "NetStream.Play.Stop":
//some code
break;
}
}
Copy link to clipboard
Copied
I'm actually using StrobeMediaPlayback right now. Is there a way to do it with it? Or do I need to make a custom player?
Copy link to clipboard
Copied
IMHO StrobeMediaPlayback is now an open source player...Please download it from(I think) sourceforge.net and modify it to suit your needs.
Copy link to clipboard
Copied
You can find it at OSMF | SourceForge.net.