我玩視頻從URL = HTTP:// ... /playlist.m3u8M3U8視頻停止與MediaPlayer的:錯誤(1,-1004)
MediaPlayer mVideoPlayer = new MediaPlayer();
...
mVideoPlayer.setDataSource(getApplicationContext(), url);
一切工作正常...但後錯誤5分鐘的視頻停止
11-24 17:52:22.519: V/MediaPlayer(2777): message received msg=100, ext1=1, ext2=-1004
11-24 17:52:22.519: E/MediaPlayer(2777): error (1, -1004)
11-24 17:52:22.519: V/MediaPlayer(2777): callback application
11-24 17:52:22.519: V/MediaPlayer(2777): back from callback
11-24 17:52:22.519: E/MediaPlayer(2777): Error (1,-1004)
我在互聯網上找到,這是因爲HTTP服務器緊密結合
如何解決在我身邊這個問題?
你必須在服務器端修復它。 – dasar 2014-12-13 09:14:11