google/ExoPlayer

Support seeking in FLV (including if delivered using rtmp)

Opened this issue · 3 comments

I added extension of rtmp in Gradle

compile 'com.google.android.exoplayer:extension-rtmp:r2.5.1'

Rtmp videos are playing but progress bar and exo_duration are not working .

ojw28 commented

What type of stream are you trying to play, exactly? Please provide an example. Thanks.

I am trying to play below link

rtmp://pkpipe.com:1935/vod2/_definst_/pkpipe/S14CkLSdW/VID-20170908-WA0023.mp4 app=vod2 playpath=/pkpipe/S14CkLSdW/VID-20170908-WA0023.mp4

ojw28 commented

We don't currently support seeking into FLV streamed via RTMP, sorry.

Marking this issue (i.e. supporting seeking in FLV, including if delivered via RTMP) as an enhancement, but this really isn't a use case we're prioritizing, so if this does get implemented it's likely to be by an external contributor. It's not prioritized because the vast majority of on-demand streams are played via http and use modern container formats like MP4 or MKV, and so that's where we focus our efforts.