[Red5] getPublishedName of a Stream

Andy bowljoman at hotmail.com
Thu Jun 12 12:17:25 PDT 2008


I think you might use IPlayBackSecurity object.

It has the name I believe.

-----Original Message-----
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
Behalf Of Danny Thuering
Sent: Thursday, June 12, 2008 12:08 PM
To: red5 at osflash.org
Subject: Re: [Red5] getPublishedName of a Stream


Yeah, thats right. The client knows the stream name.

my clients can choose between 2 streams so i wanted to track which of
the streams they are subscribed to for statistical analysis.

or is there some other method called when a client request an stream?

thank you,
danny


On Thu, Jun 12, 2008 at 8:49 PM, Andy <bowljoman at hotmail.com> wrote:
> Another Item to consider is that the client already knows the name of 
> the desired stream, so you can pass that as a parameter from the 
> client.
>
>
> -----Original Message-----
> From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On 
> Behalf Of Danny Thuering
> Sent: Thursday, June 12, 2008 10:33 AM
> To: red5 at osflash.org
> Subject: [Red5] getPublishedName of a Stream
>
>
> Hi LIst,
>
> i want to get the published Name of a Stream when the Client connects 
> to it.
>
>        public void streamSubscriberStart(ISubscriberStream stream) {
>                log.debug("streamSubscriberStart: "+ stream.getName());
>        }
>
> in Application.java gives me the unique id but not the published name.
>
> The  API documentation nof IStream says that i should use
> IBroadcastStream.getPublishedName()
>
> but I dont know how to get from ISubscriberStream to IBroadcastStream.
>
>
> Thanks in advance,
> danny
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org
>

_______________________________________________
Red5 mailing list
Red5 at osflash.org http://osflash.org/mailman/listinfo/red5_osflash.org




More information about the Red5 mailing list