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

Video Streaming flush

Guest
Jun 26, 2009 Jun 26, 2009

Copy link to clipboard

Copied

Hi Everyone,

     In streaming video player, the related video appear after the end of the one video (using flush). Even i pause the video the flush called and related video appears, but i need after the end of the video.

     Anyone knows...help me..

     Thank in advance..

Regards

Saravanan.T

Views

766

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 ,
Jun 29, 2009 Jun 29, 2009

Copy link to clipboard

Copied

I didnt get you problem to the dot. But let me just give it a try. What you are saying new video plays as soon as NetStream is flushed. Probabaly the code you have issues new play when it recieves "NetStream.Buffer.Flush".  What you have to do is , issue play for new video only when you get "NetStream.Buffer.Flush" after you have got "NetStream.Play.Stop" i.e. keep track of "NetStream.Play.Stop" and set some flag say stopFlag to true and when you get "NetStream.Buffer.Flush" check if stopFlag is true, if yes issue new play else do nothing. Better would be you issue play after you get following sequence - NetStream.Play.Stop -> NetStream.Buffer.Flush -> NetStream.Buffer.Empty -> issue play for new video.

Hope this answers your question.

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
Guest
Jun 30, 2009 Jun 30, 2009

Copy link to clipboard

Copied

LATEST

Hi,

     Thank for ur response. I got it. Once again i thank u.

Regards

Saransoft

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