Streaming audio to mobile phones, which technology to use?

I plan to create an application in which audio media will be transferred to a mobile phone for listening.

The targets are smartphones: iPhone / Blackberry / Android / (J2ME?).

I see that streaming on the iPhone should be done using real-time HTTP streaming, but I don't see it in other platforms support.

Should I stream streams through rstp ? HTTP ? Is there a way to use a unified solution for all mobile platforms? If someone already had to go through this, it will be very useful for us to help.

+4
source share
5 answers

One answer to the question “what technology to use?” For the iPhone is, in particular, WiFi. I know that this is not the type of question you are asking, but its meaning is worth it! Many applications that support streaming over 3G have been rejected by Apple due to bandwidth usage. You may need to be prepared to recognize the type of network connection and restrict streaming when you only have a WiFi connection.

0
source

Blackberry works with http and RSTP on OS 4.3 or later. I am not familiar with other platforms, but I think that http will be the most compatible.

Here is a PDF listing the supported types by major model.

http://docs.blackberry.com/en/smartphone_users/deliverables/15801/711-01774-123_Supported_Media_Types_on_BlackBerry_Smartphones.pdf

0
source

iPhone can play streaming audio (progressive download). Given all platforms, you usually need threads suitable for transcoding. See Fe https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html The title says "HTTP Live Streaming", but a lot of things are suitable for downloading and playing streams.

0
source
  • Both Android and BlackBerry support RTSP .

  • Please note that some BlackBerry devices only support video at 15 frames per second, so you may need separate streams to provide users with the best possible experience.

  • iPhone, starting with iPhone OS 3.0, needs HTTP Live Streaming .

The only software solution I know to support everything above is Wowza , but you still need an encoder. (I think Wowza supports RTP as input, but requires a double check.)

0
source

You might want to do RTSP, but that doesn't really matter. HTTP Live Streaming is just a client-side protocol. I'm sure. All of these acronyms simply describe how data is transmitted. If the browser can access the data for this protocol ... maybe the phone can too. It sounds like you are asking more server side questions ..... but this question is the least of your worries. You’ll have to think more about how “I will scale it,” which protocol should I use to transfer data. ”In addition, a unified solution for all clients will be to have a server to which they all went for data You still need to develop separate clients for each OS.

0
source

Source: https://habr.com/ru/post/1310730/


All Articles