ios - radio streaming without MPMoviePlayerController -


i doing small radio shoutcast android , ios kony. fine android ios, creating library play shoutcast.

unfortunatly, seems player of mpmovieplayercontroller need set subview work , unable that.

does know other solution play shoutcast on ios?

i don't know shoutcast imagine similar soundcloud in use api parse stream url? if i'm right in thinking need put url nsurl , make sure tell mpmovieplayercontroller source, so...

radioplayer = [[mpmovieplayercontroller alloc] initwithcontenturl:[nsurl urlwithstring:your_shoutcast_stream_url]]; radioplayer.moviesourcetype = mpmoviesourcetypestreaming; 

then play

[radioplayer preparetoplay]; 

hope helps :)


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -