Well done. It's easy to use a library and example code, but to work out how to do something 'outside of the box' like you have is certainly more challenging. Thanks for sharing!
theres a little resistor that allows you to switch between the pcb trace antenna and the external ipex antenna connector if its set to the ipex connector, disconnecting the external antenna means that youre left without an antenna
Yes, WebSockets are the way to go, as they use UDP instead of TCP. UDP has way less overhead per packet and, therefore, is faster. But you cant be sure if you lost part of the data on the way. But for a stream, that's perfectly fine as long as it is fast.
@@Neumi thanks, though websockets do not use udp but tcp. the usual benefit of websockets is that they leave the connection open so you skip some parts of the usual handshake. are websockets used for the streaming or perhaps for sending json data?
I was hoping that you would have shown how it works to a live server, the title of your video in this case should have been how to stream from esp32 to raspberry pi on local network. that's what I've been looking at if I'm not mistaken
There is actually no difference in running this code on a live server. The interesting part is the routing and the WS stream as the server receives and then streams it again to another client (like a relais). You can just open the port on your server and go for it. :)
I'm going to try it with a spring boot back, I'll let you know if I can get a live broadcast from anywhere in the world, the problem is having it connected to the internet, is it possible with a phone chip?
ok, I work the live streaming with my back in spring boot, but there is a problem and is that it disconnects and connects more and more often depending on the parameters of quality and size of the image, so I left jpeg_quality in 40 and frame_size in FRAMESIZE_CIF, so it works relatively well, what problem do you think I'm having?
@@johanjulian8699 the ESP boards are quite low power. The RAM and CPU are a hair too weak to handle the amount of data with the larger image sizes and qualities. Try a lower resolution or higher compression. A good wifi connection with an external antenna also helps quite a bit.
What do you mean by sending a stream to Android Studio? Would you like to receive the stream in an Android app? You'll need a relay server to make this useful. You could use the same server as I did and open a web frame from that to see the stream on your Android device. I'm not into app development, but there is probably a standard way to receive an image/video stream on Android.
Sure. The example was on the same network. But I tested with a remote server and it worked flawlessly. Even with multiple clients on the server (that acts like a relay).
Great work, subscribed already. can you please make a similar project to work on cloud server. I will keep checking back if i will be lucky to have my request granted. cheers
Hey! Thanks! The exact same process works on an online server running ie Ubuntu. The only thing you have to do is to open the corresponding port in your firewall. The Raspberry was just an example on the local network but it could be on a different network as well :)
@@karimkalboussi4703 Redroom = Livestreaming Gore to a Person "paid with Bitcoins" via the Darknet Most people say that Redrooms cannot exists because Tor is "slow". But thats not the case for Websockets.
Well done. It's easy to use a library and example code, but to work out how to do something 'outside of the box' like you have is certainly more challenging. Thanks for sharing!
This is one of those rare projects that gives a key that opens many possibilities. Hats off to you, sir!
Hats off to you, sir! This is so cool!
thanks man, i was looking for this approach and today find out your video in the youtube suggestion its helpful thanks again.
I set up a Nodered websockets server and HTML sever to show streaming images, inspired by your example. Thank you.
theres a little resistor that allows you to switch between the pcb trace antenna and the external ipex antenna connector
if its set to the ipex connector, disconnecting the external antenna means that youre left without an antenna
Good to know! Maybe it was set to external... no wonder it has bad reception :D
@@Neumi probably was if it came with an external antenna
I love your tutorial. That helps a lot.
how do i design a system to transfer data in form of images and live video from esp32 cam to a smartphone
without using another device for the server, can't we make esp32cam itself the websocket server?
Is there an actual easy way to use external antenna without soldering
Very inspiring video thanks
How can I make work it without board connection, Can I directly supply it with 5V battery pills ?
Hello thank you for your work. A quick quesiton, do you employ websockets for faster communication or so you can publish the stream to the internet?
Yes, WebSockets are the way to go, as they use UDP instead of TCP. UDP has way less overhead per packet and, therefore, is faster. But you cant be sure if you lost part of the data on the way. But for a stream, that's perfectly fine as long as it is fast.
@@Neumi thanks, though websockets do not use udp but tcp. the usual benefit of websockets is that they leave the connection open so you skip some parts of the usual handshake. are websockets used for the streaming or perhaps for sending json data?
Does it do many writes to SD card or is everything on RAM?
All RAM (large RAM recommended for larger image sizes)
I was hoping that you would have shown how it works to a live server, the title of your video in this case should have been how to stream from esp32 to raspberry pi on local network. that's what I've been looking at if I'm not mistaken
There is actually no difference in running this code on a live server. The interesting part is the routing and the WS stream as the server receives and then streams it again to another client (like a relais). You can just open the port on your server and go for it. :)
Hi bro, i have a question. Can i stream and receive data from computer with websocket at the same time?
Sure.I would not do it on an ESP though (due to limited processing power)
Bro can i build two way communication with this code
You can use this code as a starter. But currently, it only sends the images to the backend. The other way you have to build yourself ;)
Can you make a video with the blynk latest blynk app?
I'm going to try it with a spring boot back, I'll let you know if I can get a live broadcast from anywhere in the world, the problem is having it connected to the internet, is it possible with a phone chip?
ok, I work the live streaming with my back in spring boot, but there is a problem and is that it disconnects and connects more and more often depending on the parameters of quality and size of the image, so I left jpeg_quality in 40 and frame_size in FRAMESIZE_CIF, so it works relatively well, what problem do you think I'm having?
@@johanjulian8699 hello brother, can you please help me ?
@@johanjulian8699 the ESP boards are quite low power. The RAM and CPU are a hair too weak to handle the amount of data with the larger image sizes and qualities. Try a lower resolution or higher compression. A good wifi connection with an external antenna also helps quite a bit.
how to send this video stream from esp32 to android studio
What do you mean by sending a stream to Android Studio? Would you like to receive the stream in an Android app? You'll need a relay server to make this useful. You could use the same server as I did and open a web frame from that to see the stream on your Android device. I'm not into app development, but there is probably a standard way to receive an image/video stream on Android.
Thanks a lot!
have you tried to stream directly to youtube
No actually not. but that would be a cool project!
is this possible to do on an open network that has no wifi password
Sure. Just leave the password sting empty. (If I remember correctly) But you should use password-protected networks if possible.
Will this work for two devices on different networks?
Sure. The example was on the same network. But I tested with a remote server and it worked flawlessly. Even with multiple clients on the server (that acts like a relay).
i want text code
Awesome work. Can I stream direct to AWS cloud (KVS or IVS). Can you do a tutorial on that
I usually don't work with AWS but as it is just a websockets stream, I'm sure you can use my code directly on AWS or write some backend.
cool :)
Great work, subscribed already. can you please make a similar project to work on cloud server. I will keep checking back if i will be lucky to have my request granted. cheers
Hey! Thanks!
The exact same process works on an online server running ie Ubuntu. The only thing you have to do is to open the corresponding port in your firewall. The Raspberry was just an example on the local network but it could be on a different network as well :)
And people say Redrooms dont exist 😂
Camera -> (Server IP) -> Websocket over TOR (.Onion) -> javascript enabled in Tor Browser -> done.
??
@@karimkalboussi4703
Redroom = Livestreaming Gore to a Person "paid with Bitcoins" via the Darknet
Most people say that Redrooms cannot exists because Tor is "slow". But thats not the case for Websockets.
How to send this video stream from esp32 to winform