PDA

View Full Version : Help with live stream switcher


tadmaz
01-07-2008, 12:25 AM
I want to be able to have several locations stream audio/video to a flash media server. I am using an adobe video switcher right now and it works great
http://www.adobe.com/devnet/flash/articles/live_video_switcher.html
but I need to be able to get the audio from a DV cam, which is not possible through the browser plugin. I am able to grab the audio from the DV cam when using Flash Media Encoder. When I stream from the encoder to the FMS, in the "switcher" swf, the stream does not appear in the list. So I think I just need the code to retrieve the list of streams on the FMS. Can anybody help? Thanks.

bowljoman
01-16-2008, 01:07 AM
Seems to me, you could allow the naming of the streams by the client, and store them in the SO. And then provide the client with a check box, specifying whether the source is external or not.

The other option, if its running on a windows machine, is to acquire the camera, render the interleaved audio and capture it from the default device wave out. The video would be sampled and injected to a virtual video device, and loaded into the browser.

I actually use both methods, but I don't use the switcher application you are using.

tadmaz
01-30-2008, 02:24 PM
Here's what I ended up doing:

with that video switcher I posted earlier, in the main .asc file on the server I added:


hardcodedBroadcasters = new Array();
hardcodedBroadcasters.push({broadcasterName: "test of stream_4", streamName:"stream_4", userID:"broadcaster1"});

broadcaster_so.setProperty("broadcaster1", hardcodedBroadcasters[0]);

So I hardcoded the stream name that I enter in Flash Media Encoder 2. It works fine.