|
Home > Archive > Macromedia Flash Server > August 2005 > Buffering and Playing msgs with a playlist.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Buffering and Playing msgs with a playlist.
|
|
| Sean Moran 2005-08-17, 5:46 pm |
|
One of our clients wanted to add a 10 sec buffer ad to the front of
their videos - no problem, just added it in playlist style..
ns.play("ad1",0,-1); //ad video
ns.play(useVideo, 0,-1,false);
onPlaying();
The "onPlaying()" function takes care of monitoring the stream,
showing playing/paused/buffering messages, etc.
The video plays fine, except my status messages get mixed up.
What happens is about half way through the 10 sec ad, a second
"NetStream.Play.Start" happens as the second video is buffered. but
i never get a second "NetStream.Buffer.Full" to switch my message to
"Playing".
Here is my trace:
# Videoplayer.as # NetStream.Play.Reset
# Videoplayer.as # NetStream.Play.Start
# Videoplayer.as # NetStream.Buffer.Full
# Videoplayer.as # reportChange:Playing
# Videoplayer.as # NetStream.Play.Start
# Videoplayer.as # stream duration = 88.8
Any help? Is this correct or should I be getting a second Buffer.Full
message?
Thanks,
Sean
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
| |
| Sean Moran 2005-08-17, 5:46 pm |
|
As usual, i have figured out a solution. I am still wondering though
if this is the right behavior?
When you have a playlist, do you get the NetStream.Play.Start
messages at each switch of a stream? Makes sense I guess, as FCS if
just linking all videos together so there would be no rebuffering
between each video.
Sean
On Aug 17, 2005, at 10:41 AM, Sean Moran wrote:
>
> One of our clients wanted to add a 10 sec buffer ad to the front of
> their videos - no problem, just added it in playlist style..
>
> ns.play("ad1",0,-1); //ad video
> ns.play(useVideo, 0,-1,false);
>
> onPlaying();
>
>
>
> The "onPlaying()" function takes care of monitoring the stream,
> showing playing/paused/buffering messages, etc.
> The video plays fine, except my status messages get mixed up.
>
> What happens is about half way through the 10 sec ad, a second
> "NetStream.Play.Start" happens as the second video is buffered.
> but i never get a second "NetStream.Buffer.Full" to switch my
> message to "Playing".
>
> Here is my trace:
>
> # Videoplayer.as # NetStream.Play.Reset
> # Videoplayer.as # NetStream.Play.Start
> # Videoplayer.as # NetStream.Buffer.Full
> # Videoplayer.as # reportChange:Playing
> # Videoplayer.as # NetStream.Play.Start
> # Videoplayer.as # stream duration = 88.8
>
>
> Any help? Is this correct or should I be getting a second
> Buffer.Full message?
>
> Thanks,
> Sean
>
>
>
>
>
> =-----------------------------------------------------------
> Supported by Fig Leaf Software - http://www.figleaf.com
> =-----------------------------------------------------------
>
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|
|
|
|
|