how to combine voice stream

View: New views
3 Messages — Rating Filter:   Alert me  

how to combine voice stream

by 啸豪 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've got a problem when i try to combine voice stream.

I know how to publish voice stream, here is the code below:
var ns:NetStream = ...
ns.attachAudio(Microphone.getMicrophone());
ns.publish("name","live");


In this way, user need to subscrib every stream.
For example, user #1 wants to hear user #2~5, he must subscrib all of stream #2~5. That need too much bandwidth.

I need to save the application and user's bandwidth.
Is there any way to combine multiple stream to a single stream?

--
Best regards,

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

Re: how to combine voice stream

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Afaik this cannot be done with the default Red5 install.
 
Each incoming stream is indepedent and if you wan to hear such a stream you need to subscribe to that, like you wrote below.
 
If you want a multi-to-multi chat like Ventrilo or TeamSpeak then you need to mix the streams on the server itself.
 
That COULD be developed in Red5 (it's Java and it's open so you can do it yourself) but afaik it is not done yet.
 
Please do understand that realtime mixing of multiple incoming streams can be pretty cpu-intensive.
 
Regards,
Walter
 
----- Original Message -----
Sent: Wednesday, July 23, 2008 12:06 PM
Subject: [Red5] how to combine voice stream

I've got a problem when i try to combine voice stream.

I know how to publish voice stream, here is the code below:
var ns:NetStream = ...
ns.attachAudio(Microphone.getMicrophone());
ns.publish("name","live");


In this way, user need to subscrib every stream.
For example, user #1 wants to hear user #2~5, he must subscrib all of stream #2~5. That need too much bandwidth.

I need to save the application and user's bandwidth.
Is there any way to combine multiple stream to a single stream?

--
Best regards,


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


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.5.5/1568 - Release Date: 7/23/2008 6:55 AM


I am using the free version of SPAMfighter for private users.
It has removed 381 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!

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

Re: how to combine voice stream

by 啸豪 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thank you.

2008/7/23 Walter Tak <walter@...>:
Afaik this cannot be done with the default Red5 install.
 
Each incoming stream is indepedent and if you wan to hear such a stream you need to subscribe to that, like you wrote below.
 
If you want a multi-to-multi chat like Ventrilo or TeamSpeak then you need to mix the streams on the server itself.
 
That COULD be developed in Red5 (it's Java and it's open so you can do it yourself) but afaik it is not done yet.
 
Please do understand that realtime mixing of multiple incoming streams can be pretty cpu-intensive.
 
Regards,
Walter
 
----- Original Message -----
Sent: Wednesday, July 23, 2008 12:06 PM
Subject: [Red5] how to combine voice stream

I've got a problem when i try to combine voice stream.

I know how to publish voice stream, here is the code below:
var ns:NetStream = ...
ns.attachAudio(Microphone.getMicrophone());
ns.publish("name","live");


In this way, user need to subscrib every stream.
For example, user #1 wants to hear user #2~5, he must subscrib all of stream #2~5. That need too much bandwidth.

I need to save the application and user's bandwidth.
Is there any way to combine multiple stream to a single stream?

--
Best regards,


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


No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.5.5/1568 - Release Date: 7/23/2008 6:55 AM


I am using the free version of SPAMfighter for private users.
It has removed 381 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!

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




--
Best regards,

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