-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
I was trying to play the rtmps link using ext_video_player
rtmps://dlive.flavorable.io:443/live/apa.dummy@gmail.com
But It's throwing below exception. In fact it's not able to detect rtmps protocol. I am using ext_video_player: ^0.0.6
Could you please help us on that?
--------- Log message ----------------
E/ExoPlayerImplInternal( 4844): Playback error
E/ExoPlayerImplInternal( 4844): com.google.android.exoplayer2.ExoPlaybackException: Source error
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:554)
E/ExoPlayerImplInternal( 4844): at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal( 4844): at android.os.Looper.loop(Looper.java:223)
E/ExoPlayerImplInternal( 4844): at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal( 4844): Caused by: com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Unable to connect
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:309)
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:199)
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1013)
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:415)
E/ExoPlayerImplInternal( 4844): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/ExoPlayerImplInternal( 4844): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/ExoPlayerImplInternal( 4844): at java.lang.Thread.run(Thread.java:923)
E/ExoPlayerImplInternal( 4844): Caused by: java.net.MalformedURLException: unknown protocol: rtmps
E/ExoPlayerImplInternal( 4844): at java.net.URL.(URL.java:608)
E/ExoPlayerImplInternal( 4844): at java.net.URL.(URL.java:498)
E/ExoPlayerImplInternal( 4844): at java.net.URL.(URL.java:447)
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.makeConnection(DefaultHttpDataSource.java:468)
E/ExoPlayerImplInternal( 4844): at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:307)
E/ExoPlayerImplInternal( 4844): ... 7 more
I/flutter ( 4844): snapshot.connectionState :ConnectionState.done