ksvc / KSYMediaPlayer_Android

金山云Android播放SDK(KSYUN Live Streaming player SDK),支持RTMP HTTP-FLV HLS 协议(supporting RTMP HTTP-FLV HLS protocol),直播延时2-3秒(Living delay 2 or 3 seconds),supporting jitter control,software&hardware decode
http://v.ksyun.com/
Apache License 2.0
853 stars 246 forks source link

如何获取当前正在播放的m3u8列表中的当前ts文件名? #233

Open huangdali opened 6 years ago

huangdali commented 6 years ago

rt

huangdali commented 6 years ago

比如我的m3u8列表是这样的:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:10
#EXTINF:9.960,
1500480000074.ts
#EXTINF:10.190,
1500480009999.ts
#EXTINF:9.960,
1500480020246.ts
#EXTINF:9.960,
1500480030189.ts
#EXTINF:10.030,

此时播放到了第二个ts文件1500480009999.ts,播放器能将正在播放的这个ts回调出去吗

dengchu817 commented 6 years ago

没有这样的回调

huangdali commented 6 years ago

@dengchu817 能否增加这样的回调呢?