Android http live Streaming URL using mediaplayer

后端 未结 1 969
醉酒成梦
醉酒成梦 2021-02-14 10:50

I am trying to play an url but its not playing and the code i used is below..the logcat is showing Mediaplayer error(1,-1002), start state is 0 and error(-38, 0) why...? where i

1条回答
  •  一生所求
    2021-02-14 11:14

    right code but wrong api level~

    it's not every api level supports this way to play a media,http live streaming ,may be you need api level 10 or higher

    0 讨论(0)
提交回复
热议问题