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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -