google / ExoPlayer

This project is deprecated and stale. The latest ExoPlayer code is available in https://github.com/androidx/media
https://developer.android.com/media/media3/exoplayer
Apache License 2.0
21.74k stars 6.03k forks source link

Support seeking in FLV (including if delivered using rtmp) #3251

Open DemindoO opened 7 years ago

DemindoO commented 7 years ago

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 7 years ago

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

DemindoO commented 7 years ago

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 7 years ago

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.