Streaming video to phone/P2P/Direct connection
Streaming video to phone/P2P/Direct connection
Hi, I am looking to stream video to my phone in remote locations where there is no internet so direct wifi connection between the cam and phone. I have searched and searched and it seems ESP32 is unable to do this? Any other boards that can? There are some mini cams on aliexpress that can using apps such as lookcam, so I guess I could rip them apart and use them but am hoping for a low cost solution as these are 30-40 dollars each and I need several.
-
AndrewWang
- Posts: 8
- Joined: Thu Jan 01, 2026 8:54 am
Re: Streaming video to phone/P2P/Direct connection
Based on this issue, it appears that ESP-IDF currently does not support WiFi Direct functionality, also known as WiFi P2P.
https://github.com/espressif/esp-idf/issues/6522
So I am attempting to implement this feature by developing a P2P function based on ESP-IDF. This is the link to my GitHub repository:
https://github.com/AHWang2/ESP-WiFi-P2P-WiFi-Direct
The current progress is that I have achieved enabling ESP devices to appear on the WLAN direct connection list of Android phones, but they still lack connection and data transmission functions.
I believe WiFi Direct has two advantages:
1. Compared to the traditional WiFi-AP and WiFi-STA working modes, when the phone is directly connected via P2P, it can maintain the current WiFi connection without disconnecting.
2. Compared to other P2P functionalities, such as Bluetooth, WiFi Direct boasts a higher bandwidth.
May I ask in what scenario you would like to apply this function? Are there any specific requirements? Feel free to discuss
https://github.com/espressif/esp-idf/issues/6522
So I am attempting to implement this feature by developing a P2P function based on ESP-IDF. This is the link to my GitHub repository:
https://github.com/AHWang2/ESP-WiFi-P2P-WiFi-Direct
The current progress is that I have achieved enabling ESP devices to appear on the WLAN direct connection list of Android phones, but they still lack connection and data transmission functions.
I believe WiFi Direct has two advantages:
1. Compared to the traditional WiFi-AP and WiFi-STA working modes, when the phone is directly connected via P2P, it can maintain the current WiFi connection without disconnecting.
2. Compared to other P2P functionalities, such as Bluetooth, WiFi Direct boasts a higher bandwidth.
May I ask in what scenario you would like to apply this function? Are there any specific requirements? Feel free to discuss
Re: Streaming video to phone/P2P/Direct connection
You can try this example https://github.com/espressif/esp-video- ... deo_server. I use it on a P4. I created a Hotspot on my Phone and connected the P4 to it. Works great.
Last edited by _NMO13_ on Sat Jan 03, 2026 11:45 am, edited 1 time in total.
Who is online
Users browsing this forum: Semrush [Bot] and 12 guests