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
RTMP is not working on IOS. #178
Comments
I am using the following packages. http: ^0.12.2 |
I have found the package. it is due to video_trimmer: 0.2.7. |
Does RTMP work in the example app? |
yes |
video_trimmer: 0.2.7 |
I think both video_trimmer and flutter_vlc_player use the FFmpeg package. |
Can you please provide a sample app repo? |
Please import the video_trimmer package to your sample app. |
Without a sample RTMP url, I cannot help. Please provide a sample RTMP url. |
ok |
You can upload a live-stream video yourself. |
By Including "video_trimmer: 0.2.7" does it only break RTMP? I have included this package and all the videos play without issue. This video URL "https://live.yklmrealestate.com/?key=test" does not play for me in the sample app. Please provide code so I can further debug. |
if video_trimmer has included, App can play all videos except for RTMP.
|
Do you have OBS? then you need to upload a live-stream-video. |
My skype id is "live:.cid.1af6cf74b98bcffa". |
Ok @liqiang1995 I have finally reproduced this and can confirm your theory about "video_trimmer" causing the issue with RTMP. I ran logs with and without the video trimmer library. At the core the issue is that with the video trimmer library I see these logs
Without the video trimmer library I see
The video trimmer library uses flutter_ffmpeg, which is conflicting with vlc's embedded ffmpeg. I found this issue which perfectly matches up with the issue seen in the logs. tanersener/flutter-ffmpeg#255 The provided solution here is what you should try https://github.com/tanersener/mobile-ffmpeg/wiki/Using-Multiple-FFmpeg-Implementations-In-The-Same-iOS-Application. Hope this helps. |
Let me try. |
How are you doing? |
This issue is out of scope for this library. I'm not entirely sure how to resolve the issue. I guess you could try the solutions in the article directly on this library project? You could pull this repo and try. |
OK, thank you for your support. |
Hello, is this problem solved? |
How are you?
This package is great.
This package plays my RTMP on a test project (the test project has only VLC Player).
but RTMP is not played on my current project (it has too many other packages, firebase, google map, camera...).
I think a package suspends the VLC Player. or it is due to the memory limit of the iPhone.
I can not see any error log, so I can not know the package and reason.
Anyway, If you have any ideas, please let me know.
Thank you.
The text was updated successfully, but these errors were encountered: