Receiving Multicast messages

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

 



Greetings everyone!


I am attempting to create a small device that will listen for audio streams at a specific multicast address. I have used example code to get a rudimentary client built (I can register/unregister with an Asterisk server and receive calls and everything works great). I have spent a while looking at the streamutil.c file because my searches seem to indicate that I should look there to get a handle on how to do this. But to be honest, I am having trouble deciphering exactly how all these pieces fit together. It looks like there is a lot of code there to set up a stream to transmit, but I want mine to only listen. In my head, I feel like I should be able to make a few API calls to specify the multicast IP and port and whenever something shows up there, I'll hear it on my speakers. I know there is a lot going on, and at some point I want to be able to do this dynamically. But right now it is just proof-of-concept kind of stuff. 


Can anyone point me to something that may help me get a better handle on where I should start?


Thanks a lot you guys!

_______________________________________________
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