How Mobicent Media Server plays audio using a URL

I want to know the details of how the Mobicent Media Server plays audio using a URL? In which method is streaming done using url. For local storage I understand, but for remote storage (URL) I don't understand how it works. I didn't find anything in the user manual or website. It will be very helpful if you can give me the details or offer me any link on the internet.

Thank.

+3


source to share


1 answer


In order for the Media Server to play the file, you need to send a Play signal where you specify the URL of the file to be played. 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 .

When a Play request is received, the media server will ask the underlying AudioPlayer to handle the URL, first ensuring that it is not ugly and that the file type is supported: .wav, .gsm, .tone, .mov ,. mp4, .3gp. If everything is in order, the player will immediately open the stream to a file.

Finally, AudioPlayer is activated so that it can begin processing the file and transmitting audio to the remote host.

You can find a detailed discussion of this topic in the public mobicents forum (including links to the github code):



https://groups.google.com/d/msg/mobicents-public/4zuUOM3zHsM/fQM6o80JEXwJ

Let me know if it helps.

Sincerely.

+3


source







All Articles