-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RtmpClient unable to properly read stream #70
Comments
Hi, I am facing the above issue with librtmp library used in ExoPlayer. Request your help in this regard. |
Hi, seems like this problem is still not fixed, right? I have a HD video stream (rtmp) without any audio stream and it just does not play back. If I add a nullsrc audio then it works, but that adds more processing power and time that I don't have available. Requesting help! Best regards... |
The link you've provided above plays fine for me. It's also an https link rather than rtmp? I'm not sure how it's related to LibRtmp? |
Thank you for your swift reply! yes, the file plays perfectly in media players (MPC, VLC). I stored the rtmp stream to a file (raw conversion in VLC) for you to have a look at the stream - what might be wrong with it. I'm using librtmp within ExoPlayer on Android, already using latest release 3.1.0. I could provide you a direct link to the stream source via PN. |
Few FLV files signal that both A and V tracks are available, when in fact only Video is available. This creates A/V tracks which will not play if Audio samples are not present. Can you check in If hasAudio flag is set true for your FLV file, then Video only playback will be an issue. FFMPEG is able to play such content over RTMP. |
Ok, I managed to clone the repo and included it in my project. That way I could perfectly detect if the flv headers set an audio track. I found out that my gstreamer pipeline including the flvmux element did NOT add an audio stream, but the receiving nginx-rtmp module by default sets an audio track as given even if there is none in the input stream: url So I just had to set Thank you very much for your input! Best regards, Florian |
Glad you were able to resolve this! I'm going to close this issue because I think it was fixed by #75, and was left open by accident :). |
This issue was originally reported here: google/ExoPlayer#4319
It appears RtmpClient is unable to read
rtmp://76.81.29.11:1935/live/Cam2
correctly. To verify the issue is in RtmpClient I did the following:rtmpdump
(command line tool). Side load this file onto an Android device and verify it can be played correctly using ExoPlayer.The text was updated successfully, but these errors were encountered: