[Red5] getPublishedName of a Stream
Andy
bowljoman at hotmail.com
Thu Jun 12 11:32:22 PDT 2008
Not sure if you have this version. I call it from the client.
public List<String> getStreams() {
IConnection conn = Red5.getConnectionLocal();
return getBroadcastStreamNames(conn.getScope());
}
// And also
public void streamPublishStart(IBroadcastStream stream)
{
stream.getPublishedName();
}
-----Original Message-----
From: red5-bounces at osflash.org [mailto:red5-bounces at osflash.org] On
Behalf Of Andy
Sent: Thursday, June 12, 2008 10:51 AM
To: red5 at osflash.org
Subject: Re: [Red5] getPublishedName of a Stream
Hey Danny,
Review the 'live' application I sent you. Check the last method.
Also, Use the IBroadcastStream I think to get the stream published name
Andy
-----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
More information about the Red5
mailing list