im trying to get webstreaming to work from esp32 to ios. im using this sketch and have been successful in streaming to web browser, streaming to vlc, and blinking gpio. but i cannot get the stream to load into the blynk app, it just says ‘buffering’ for a while and eventually ‘error,’ but never displays any part of the stream. browser and vlc used the same url, it should be the same for blynk, no?
No.
There are many topics about using this device to stream video to the Blynk app on this forum, I’d suggest that you search and read them, then you’ll realise why VLC and Blynk are different, and what options there are to get the board to work with the iOS version of the app.
Pete.
other posts say it needs a dedicated stream, not an http url. which i have(as far as i can tell). said stream url gets entered into widget. which i did. just because there are many other threads on a topic does not mean any of them are helpful, i spent the better part of 3 days searching and trying different sketches before getting something that would get as far as ‘buffering’, which to me implied that the app was at least trying. saw no mention of other ‘options’ for connecting either, just either ‘do the thing you already did’ or ‘blynk is broken on ios’ which is the one im starting to believe
The iOS app itself has an option, selected by a switch, which is mentioned multiple times in various video stream discussions.
The key issue seems to be the format of the stream and it’s resolution, pilus the need to pass credentials in the correct format if they’ve been specified when setting-up the stream.
My ESP32-Cam board is in a different country at the moment, so I can’t dig it out and give it a whirl using the current iOS app. Also, I have several different sketches that I tried, and I won’t know which one is loaded onto the board I have until I power it up and check.
Pete.
the only switch option in the ios app is ‘force tcp transport’ which for me at least does nothing. i explicitly do not have any credentials set at the moment, for this reason. will try with different resolutions i guess.
It’s often the key to getting it working.
The documentation says:
Widget supports RTSP (RP, SDP), HTTP/S progressive streaming, HTTP/S live streaming
So make sure you’re using the correct format.
Also, ensure that your phone is connected via WiFi to the same network as your ESP32-Cam, at least during testing, otherwise the widget won’t be able to see the URL of the video stream.
Pete.