How Mobicent Media server plays audio using URL

96 views
Skip to first unread message

Nafiz Islam

unread,
Jul 7, 2015, 1:30:06 PM7/7/15
to mobicent...@googlegroups.com
Hi All,

I want to know details how Mobicent Media server plays audio using URL? In which method it's streaming using URL. For local storage I'm understanding but for remote storage(URL) I'm not getting how it's working. I didn't find anything in the user guide or in website. It will be very helpful if you please inform me details or suggest me any web link.

Thanks.

henrique.rosa

unread,
Jul 9, 2015, 7:00:40 AM7/9/15
to mobicent...@googlegroups.com
Hello Nafiz, 

In order for the Media Server to play a file you need to send a Play signal, where you specify the URL of the file.
If the file is local then the URL format will be file://path_to_file/filename.wav; otherwise if the file is hosted remotely then the URL format will be http://something/filename.wav.

This is where the Media Server receives the Play signal and sets the URL (sent as a parameter of the MGCP request):


The underlying AudioPlayer will then process the URL, first guaranteeing that it is not malformed and that the file type is supported: .wav, .gsm, .tone, .mov, .mp4, .3gp. If all is fine, the player will open a stream to the file right away.


Finally, the AudioPlayer is activated so it can start processing the file and transmitting audio to the remote peer:




Let me know if this helps.

Regards,
- H

Nafiz Islam

unread,
Jul 10, 2015, 4:58:06 PM7/10/15
to mobicent...@googlegroups.com
Thank you very much henrique.rosa for the nice and detailed ans.
Reply all
Reply to author
Forward
0 new messages