I just noticed in your message that you are looking for the streamnotfound response. To get this response with the full command you would use something like play(streamName, 0, -1, true) changing the -2 to a 0 or any positive number will play a VOD stream and not wait for a stream to begin like the -2 will.

--Dan--


On Nov 7, 2006, at 12:55 AM, Dan Rossi wrote:

Hi, sorry it took me a while to test things, your example just gave me an error

so i tried

play(streamName, -2 -1, true)

it started playing but then just hanged.

07:52:47.625 [INFO] Subscriber Playback Started
07:52:48.140 [DEBUG] Subscriber Buffer Length: 0.001Buffer Time: 10
07:52:48.640 [DEBUG] Subscriber Buffer Length: 0.266Buffer Time: 10
07:52:48.671 [INFO] Subscriber Playback Stopped
07:52:48.671 [INFO] Subscriber Playback Started

can someone tell me what the proper way to initiate a VOD stream to my understanding its this


play(streamName, 1)

as it gets the streamnotfound message perfect but no metadata sent !

please advise.

Daniel Daley wrote:
I just quickly modified my test code to do play(streamName -2 -1, true) and I was still able to receive the onMetaData events. Maybe I misunderstood what you were saying though.

--Dan--

On Nov 1, 2006, at 11:05 PM, Dan Rossi wrote:

hi there still seems to be an issue getting metadata sent when playing in VOD mode. i have to keep the player in live streaming mode play(name); to get the metadata sending, but then it doesnt know or wont be able to tell if the file is missing or not so it just sits there and buffers.

any ideas ?
_______________________________________________
Red5 mailing list


_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to