About RTMPS support
- Dominant language
- Java
- Stars
- 21.9k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Hi
We have been digging into supporting RTMPS streams, and are finding that Exoplayer might not support it after all.
Wanted to share some of our findings to ask if perhaps we are doing something wrong:
- We checked issue https://github.com/google/ExoPlayer/issues/6786 and https://github.com/google/ExoPlayer/issues/5354 .
- We also checked that our generation and distrbution of RTMP streams work correctly (using FFMPEG and Nginx implementations respectively). We can see the RTMPS stream with ffplay
- However, this same RTMPS stream with ExoPlayer fails. We see similar stack traces as the tickets referred above.
- Looking into LibRtmp client for android ( https://github.com/ant-media/LibRtmp-Client-for-Android , which if i'm not mistaken, is the source for the dependency 'net.butterflytv.utils:rtmp-client:3.1.0' ), there is this remark :"It compiles librtmp library without ssl." .
- Inspecting the CMAkeLists provided in their repo (https://github.com/ant-media/LibRtmp-Client-for-Android/blob/master/rtmp-client/CMakeLists.txt) , i seems indeed the "NO_CRYPTO" flag is present.
So... could anyone confirm if indeed RTMPS is then not supported after all given that the librtmp dependency seems to not have the SSL capability?
On our end, we are looking into making a custom compilation that does include it , and see if that solves our issue. But perhaps we are missing something obvious, so i thought i'd ask
Contributor guide
Assessment
This issue has not been assessed yet.