Streaming video to phone/P2P/Direct connection

GMMCDD
Posts: 1
Joined: Wed May 24, 2023 11:33 am

Streaming video to phone/P2P/Direct connection

Postby GMMCDD » Wed May 24, 2023 11:38 am

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.

User avatar
corz.org
Posts: 81
Joined: Fri Feb 03, 2023 10:44 pm
Location: Aberdeen
Contact:

Re: Streaming video to phone/P2P/Direct connection

Postby corz.org » Thu May 25, 2023 4:42 pm

The ESP32 can do this easily.

AndrewWang
Posts: 8
Joined: Thu Jan 01, 2026 8:54 am

Re: Streaming video to phone/P2P/Direct connection

Postby AndrewWang » Thu Jan 01, 2026 9:14 am

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

_NMO13_
Posts: 3
Joined: Sat Jan 03, 2026 11:19 am

Re: Streaming video to phone/P2P/Direct connection

Postby _NMO13_ » Sat Jan 03, 2026 11:44 am

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: Baidu [Spider] and 9 guests