Open ryantan1 opened 2 years ago
stream server is SRS4.0 which support RTC
try these two steps:
android:usesCleartextTraffic="true"
to your example/android/app/src/main/AndroidManifest.xml in the application node to allow android connect to unsecure http site.hope it helps
clone git and build it successfully. run it on android 9 os. push mp4 video file with following command: ./ffmpeg -re -i video.mp4 -c copy -f flv -y rtmp://ip:1935/live/mp4test
then webrtc://ip/live/mp4test can be played via SRS rtcplayer in browser while can NOT be played by flutter_live apk.
how to fix it? could you please give some hint? thanks a lot!