Sending single stream to two different playback devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings everyone,


I am attempting a little experiment to send a single audio stream to two different playback devices. I am using version 2.5.5. I have incoming audio (only one-way communication) via multicast and have the pjmedia_stream hitting my application code. I have two separate channels that I want to push this audio to. 


What I have tried to do is take the stream and connect to my two different playback devices using pjmedia_snd_port_connect. But, I get very choppy audio - almost like half the data is going to one device and the other half going to the other. When the stream comes in to a single device however, it sounds great. 


Now, I know I can monkey with my asound.conf to create a single bridged channel. That isn't ideal for me in the long term, but I may have no other choice.


So to make this a simple question: Does anyone have any ideas on how I can take a single pjmedia_stream and play it to two separate playback devices?


Thanks for any help! 



_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux