开发者

Flex - How to find all the published streams

I want to create two swf (publisher and subscriber).

I have created the publisher client which publishes the webcam video to the Red5 server.

Now I want to create the subscriber. I want some kind of combo box which lists all the streams being published at that moment. So that user can click on any of the stream name in the lis开发者_如何学JAVAt to see that stream.

Q1. How the subscriber client can find all the published stream at that moment?

Q2. How the subscriber can update that list automatically (any events for which it can listen to so that it can add or delete stream from the list)?


Q1. How the subscriber client can find all the published stream at that moment?

Keep a running list on the server and have the client request it.

Q2. How the subscriber can update that list automatically (any events for which it can listen to so that it can add or delete stream from the list)?

You'll need to use a server side tool that supports push notifications. LiveCycle and WebORB support this using RTMP. BlazeDS and GraniteDS can support this using long polling. I don't know if Red5 would offer any similar features; as I understand it's primary purpose is media delivery.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜