You may also use the patch for creating vod playlists I submitted earlier:
http://jira.red5.org/browse/SN-28

You will be able to have the user request/ns.play a file name (that is a
vod  only playlist), so that it will play a different stream based on what
files you use to the serversVODStream using IServerVODStream.

I think streamsubscriberstart and streamsubscriberstop was getting called;
though I can't remember well. However, it is still a hack and has not gone
through the magical hands of the red5 developers.

On 3/22/07, joseph wamicha <[EMAIL PROTECTED]> wrote:

I am guessing you want to do so because the user clicks on a title and not
the file?

If so, you could send the title and file data down to the flash client in
an array/list. The user can only see the title. When the user clicks on the
title, use the selectedIndex to get the corresponding flash file that will
be played by ns.play

You are right, streamSubscriberStart()/streamSubscriberStop is broken the
last I checked in changeset 1762;  the latest trunk should be 1769.



On 3/22/07, Paweł Subocz <[EMAIL PROTECTED]> wrote:
>
> Hello
>
> I want to ignore the file (stream) name user is sending in
> NetStream.play() and send him a particular file of my choice.
> I tried to modfy playlist in streamSubscriberStart() with some success,
> but it stop working after upgrading red5 to 0.6rc2. Besides it was very
> "hacky" way of dealing with problem.
> My question is. How can I implement such feature in Red5?
>
> --
> Best regards
> Pawel Subocz
>
> Batman Sues Batsignal: Demands Trademark Royalties. - Cory Doctorow
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>



--
C is forever.




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

Reply via email to