• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

End of stream or off-line message?

New Here ,
Oct 12, 2014 Oct 12, 2014

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.

Views

419

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 15, 2014 Oct 15, 2014

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;
  
}
}

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 15, 2014 Oct 15, 2014

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 16, 2014 Oct 16, 2014

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 17, 2014 Oct 17, 2014

Copy link to clipboard

Copied

LATEST

You can find it at OSMF | SourceForge.net.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines