can't stream rtmpt link
See original GitHub issueHi , i tried often to play radio stream start with rtmpt but it show as :
2019-08-09 02:25:12.387 12287-12327/com.fmegy.myapplication E/ExoPlayerImplInternal: Source error.
com.google.android.exoplayer2.upstream.HttpDataSource$HttpDataSourceException: Unable to connect to rtmpt://livestreaming5.onlinehorizons.net/pernamegaam/livestream
at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:194)
at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:137)
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:692)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:776)
Caused by: java.net.MalformedURLException: unknown protocol: rtmpt
at java.net.URL.<init>(URL.java:596)
at java.net.URL.<init>(URL.java:486)
at java.net.URL.<init>(URL.java:435)
at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.makeConnection(DefaultHttpDataSource.java:341)
at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:192)
at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:137)
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:692)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:315)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:776)
it’s working with vlc lib but takes long time to start and the lib is 50Mb which is so big to use .
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (1 by maintainers)
Top Results From Across the Web
Streaming issues via RTMP - Hopin Support
When streaming to Hopin via RTMP through a third party application (such as StreamYard or OBS), you may run into issues such as...
Read more >RTMP Streaming Connection - ManyCam Help and Support
The RTMP feature allows you to broadcast directly on Facebook, Twitch, USTREAM and YouTube live events. To start a live broadcast you have ......
Read more >My third-party live stream can't connect to the Cvent Video ...
1 Confirm you are able to use RTMP within the network your streaming device is connected to. 2 Verify Port 1935 is open....
Read more >Encrypt your stream using RTMPS - YouTube Help
Open YouTube Live Control Room. · Click the Stream tab or schedule a new stream. · Under “Stream settings,” in the "Stream URL"...
Read more >Why won't my RTMP stream show up on Facebook?
Problem When streaming to Facebook via RTMP, the Videon device says it initially has a successful connection, but the stream on Facebook...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Exoplayer doesn’t support RTMPT (tunneled) URLs. If you play the same using RTMP with below URL, it will play
Are you looking for RTMP-Tunneled support?
Since there haven’t been any recent updates here, I am going to close this issue.
@bboykemo if you’re still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.