pinkfish / flutter_rtmppublisher

Publisher to rtmp using the camera plugin as a basis to do all the basic camera/record management.
BSD 3-Clause "New" or "Revised" License
95 stars 126 forks source link

How to detect that RTMP url has valid or invalid? #19

Open ilhamamirullah opened 4 years ago

ilhamamirullah commented 4 years ago

I tried to put the wrong RTMP url and it's still record streaming, it's supposed to be a streaming error. the code controller.startVideoStreaming(url) is not get catch although we put the wrong RTMP url. How to detect that RTMP url has valid or invalid? Thank you

ilhamamirullah commented 4 years ago

I'm testing on IOS, please advice

hulohot commented 4 years ago

I believe this should be what you are looking for https://stackoverflow.com/questions/31451716/how-to-check-rtmp-live-stream-is-on-or-off