Doikki / DKVideoPlayer

Android Video Player. 安卓视频播放器,封装MediaPlayer、ExoPlayer、IjkPlayer。模仿抖音并实现预加载,列表播放,悬浮播放,广告播放,弹幕,视频水印,视频滤镜
Apache License 2.0
5.08k stars 1.04k forks source link

播放一会就停止了,回调是播放完成,不知道是怎么回事 #673

Closed zhangyong5566 closed 3 years ago

zhangyong5566 commented 3 years ago

播放地址:http://tyzb999.chxjon.cn/iptv/公众号=太阳资讯/tyzb09.php?id=11342412

Doikki commented 3 years ago

这个不是播放地址,要用实际地址播放 http://14.29.40.248/al.flv.huya.com/src/1394575534-1394575534-5989656310331736064-2789274524-10057-A-0-1-imgplus.flv?u=0&sphdDC=huya&wsTime=60cb6a53&seqid=1623943792&wsSecret=034023c6b8435014d48c302bbec51246&fm=RFdxOEJjSjNoNkRKdDZUWV8kMF8kMV8kMl8kMw%3D%3D&ctype=huya_tars&sphdcdn=al_7-tx_3-js_3-ws_7-bd_2-hw_2&fs=bgct&sphd=264_*-265_*&txyp=o%3Aq5%3B&ali_dispatch_cold_stream=on&ali_redirect_ex_hot=0

zhangyong5566 commented 3 years ago

这个不是播放地址,适合自己的地址播放http://14.29.40.248/al.flv.huya.com/src/1394575534-1394575534-5989656310331736064-2789274524-10057-img-A. 0&sphdDC = HUYA&wsTime = 60cb6a53&SEQID = 1623943792&wsSecret = 034023c6b8435014d48c302bbec51246&FM = RFdxOEJjSjNoNkRKdDZUWV8kMF8kMV8kMl8kMw%3D%3D&CTYPE = huya_tars&sphdcdn = al_7-tx_3-js_3-ws_7-bd_2-hw2&FS = bgct&SPHD = 264 - 265 _ &txyp = O%3Aq5%3B&ali_dispatch_cold_stream = ON&ali_redirect_ex_hot = 0

貌似这个链接播放还是一下子就自动停了。。不过我换了exo这个链接就可以播了http://tyzb999.chxjon.cn/iptv/公众号=太阳资讯/tyzb09.php?id=11342412