question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't stream rtmpt link

See original GitHub issue

Hi , 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:closed
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
umangsainicommented, Aug 10, 2019

Exoplayer doesn’t support RTMPT (tunneled) URLs. If you play the same using RTMP with below URL, it will play

rtmp://livestreaming5.onlinehorizons.net/pernamegaam/livestream

Are you looking for RTMP-Tunneled support?

0reactions
google-oss-botcommented, Sep 5, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found