-
Record multiples streams
Hi i have an application that broadcast multiples streams to an audience: For example when i want my audience watch a chosen stream i just select it in my administration and it appears to them. What i want to do is to record the streams in just one file in my server, now it records in separated files:
stream1.flv
stream2.flv
stream3.flv
stream4.flv
My question is: Is there a way to get what is showing in the audience and record it in just one final file?
-
How are you switching?
One way would be to wrap the live streams in a Stream class stream and use that for switching. Then record the wrapper stream with LivestreamRecord API.
This example shows switching from vod to live, but you can use multiple live streams instead:
http://www.wowzamedia.com/forums/sho...tures/page2#13
LiveStreamRecord package is here:
http://www.wowzamedia.com/forums/con...ream-on-demand
Richard
-
Thanks for answering!
It works like this: i have an administration (what we call Director) which receives live signals for 1 to 3 users, each of then has a different stream. We also have one audience user that sees the final result of the broadcasting.
When the director select one of the 3 users that are broadcasting we change the address in the audience player to the selected user address, for example:
user 1: rtmp://wowza.mycompany.com.br/mystream/user1.flv (online)
user 2: rtmp://wowza.mycompany.com.br/mystream/user2.flv
user 3: rtmp://wowza.mycompany.com.br/mystream/user3.flv
If the Director selects user2 we change the shared object that contains the address and automatically the audience player access the shared object check that the address has changed and changes the content:
user 1: rtmp://wowza.mycompany.com.br/mystream/user1.flv
user 2: rtmp://wowza.mycompany.com.br/mystream/user2.flv (online)
user 3: rtmp://wowza.mycompany.com.br/mystream/user3.flv
That's like a live TV broadcasting. What i need is to record what is showing in the audience in a final .flv file so that our clients can use this later.
Do you think that the solution you've told me can do it?
Thanks in advance!!!
-
The way I showed you could work, but it is a completely different approach. You are doing the switching in the Flash playback client, as directed by your controller and I presume using netconnect.call methods from the controller to Wowza and client.call methods from Wowza to the playback client.
In the approach I suggested, you can leverage your controller but it will call switchPlaylist in that example (instead of that bankshot to the client) which will switch streams server-side. The playback client will just subscribe to one stream, and you will use the LiveStreamRecord client to playback that stream and stop and start recording.
Richard
-
I'm going to do a test trying to implement the approach you suggested but i will need your help because i don't know much about wowza and java. Is that OK?
-
You can ask questions, and I or someone will try to answer. If you feel you need hands-on help and can hire someone, let me know and I will email a list of independent consultants that can help.
Richard
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules