Skip to content
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

No Data being received for RTMP on Android #38

Closed
Psionyx opened this issue Jun 17, 2022 · 4 comments
Closed

No Data being received for RTMP on Android #38

Psionyx opened this issue Jun 17, 2022 · 4 comments

Comments

@Psionyx
Copy link

Psionyx commented Jun 17, 2022

I ran the sample app on Android. Providing an RTMP URL with the streaming key starts a successful stream, but when I check the actual data received I get nothing. This library is also being used in api.video-reactnative-live-stream

@ThibaultBee
Copy link
Owner

Hi,

What device/android version did you run your test and on which RTMP server?
Can you confirm that the server does not decode audio AND video frames?
Do you have any logs on the server side or in logcat?
It could come from either the device either the server. Just to be sure it comes from the server or the device. Could you perform the following test?

  1. Start a RTMP server with ffplay:
ffplay -listen 1 -i rtmp://0.0.0.0:1935/s/streamKey
  1. Stream to RTMP endpoint rtmp://your.computer.ip:1935/s/streamKey
  2. Check that ffplay could decode both video and audio (on ffplay window)
  3. Get the logs of ffplay and your device

@Psionyx
Copy link
Author

Psionyx commented Jun 23, 2022

Thanks for these troubleshooting steps. Setting this up I'm able to confirm the stream is being received and both Audio and Video are being decoded. I'll have to try figuring out what restream and YouTube are receiving. Thanks

@Psionyx Psionyx closed this as completed Jun 23, 2022
@ThibaultBee
Copy link
Owner

Don't know restream or Youtube. But do you have access to a log console?
It might be really helpfull.

@ThibaultBee
Copy link
Owner

Hi,

I made fixes in the RTMP/FLV part. (branch develop).
Could you test it?

Best regards,
Thibault

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants