anilbeesetti / nextplayer

An Android native video player
GNU General Public License v3.0
1.28k stars 59 forks source link

[BUG] not support rtsp #900

Open muziling opened 3 months ago

muziling commented 3 months ago

for example : a link http://[2409:8087:7000:20:1000::22]:6060/yinhe/2/ch00000090990000001331/index.m3u8?virtualDomain=yinhe.live_hls.zte.com from https://github.com/whpsky/iptv/blob/main/chinatv.txt

can be play with mpv player, but open by nextplayer, show "source error"

E/ExoPlayerImplInternal(10775): Playback error
E/ExoPlayerImplInternal(10775):   g4.m: Source error
E/ExoPlayerImplInternal(10775):       at g4.s0.i(SourceFile:17)
E/ExoPlayerImplInternal(10775):       at g4.s0.handleMessage(SourceFile:357)
E/ExoPlayerImplInternal(10775):       at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal(10775):       at android.os.Looper.loopOnce(Looper.java:201)
E/ExoPlayerImplInternal(10775):       at android.os.Looper.loop(Looper.java:288)
E/ExoPlayerImplInternal(10775):       at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal(10775):   Caused by: java.io.IOException: z3.r0: null{contentIsMalformed=true, dataType=4}
E/ExoPlayerImplInternal(10775):       at r4.u.c(SourceFile:11)
E/ExoPlayerImplInternal(10775):       at r4.q.c0(SourceFile:30)
E/ExoPlayerImplInternal(10775):       at r4.n.a(SourceFile:551)
E/ExoPlayerImplInternal(10775):       at f.n0.run(SourceFile:724)
E/ExoPlayerImplInternal(10775):       at android.os.Handler.handleCallback(Handler.java:942)
E/ExoPlayerImplInternal(10775):       at android.os.Handler.dispatchMessage(Handler.java:99)
E/ExoPlayerImplInternal(10775):       ... 3 more
E/ExoPlayerImplInternal(10775):   Caused by: r4.a0: z3.r0: null{contentIsMalformed=true, dataType=4}
E/ExoPlayerImplInternal(10775):       at r4.n.a(SourceFile:548)
E/ExoPlayerImplInternal(10775):       ... 6 more
E/ExoPlayerImplInternal(10775):   Caused by: z3.r0: null{contentIsMalformed=true, dataType=4}
E/ExoPlayerImplInternal(10775):       at r4.s0.a(SourceFile:17)
E/ExoPlayerImplInternal(10775):       at r4.s0.b(SourceFile:524)
E/ExoPlayerImplInternal(10775):       at r4.n.a(SourceFile:533)
E/ExoPlayerImplInternal(10775):       ... 6 more
E/ExoPlayerImplInternal(10775):   Caused by: java.lang.IllegalStateException: Unsupported static paylod type 33
E/ExoPlayerImplInternal(10775):       at r4.a.c(SourceFile:47)
E/ExoPlayerImplInternal(10775):       at r4.a.a(SourceFile:1)
E/ExoPlayerImplInternal(10775):       at r4.s0.a(SourceFile:1)
E/ExoPlayerImplInternal(10775):       ... 8 more

video info

[libmpv_render/dxva2-egl] Failed to create EGL surface
[cplayer]  (+) Video --vid=1 (h264 1920x1080 25.000fps)
[cplayer]  (+) Audio --aid=1 (mp2 2ch 48000Hz)
[display-tags] File tags:
[display-tags]  Title: live
[vd] Using hardware decoding (d3d11va-copy).
[cplayer] Option af-remove: item label @aeq not found.
[cplayer] AO: [wasapi] 48000Hz stereo 2ch float
[cplayer] VO: [libmpv] 1920x1080 nv12
[cplayer] Track switched:
[cplayer]  (+) Video --vid=1 (h264 1920x1080 25.000fps)
[cplayer]  (+) Audio --aid=1 (mp2 2ch 48000Hz)