I’m successfully using the Video Streaming widget to show my entryway RTSP feed and I need a live view in order to let delivery people in as fast as I can. The problem is that the widget will play buffer from hours ago if it was already in play mode when I left the app. I have to stop, then restart the widget (by tapping the widget twice) to get a live feed. Is there a way to force that action (even in code on the microcontroller)?
Or doing so in BLYNK_APP_CONNECTED
But I believe sending the exact same url string will be ignored, you need to modify it somehow or just clear it first and then send the url…
Alright, so it works. Kinda. The code below does succeed in resetting the stream buffer when the BLYNK_APP_CONNECTED event is sent. The problem is that the event is only sent when the app is restored from iOS sleep, which only happens after a while and not every time the app is loaded.