Skip to content

Instantly share code, notes, and snippets.

Created April 1, 2022 02:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
While connected to a PC without drivers (such as GNU/Linux) over USB, the GoPro sets itself up as a USB Ethernet card and runs a DHCP server to assign your PC an address. Doesn't mess with my default route, so regular path to the internet still works. In my case the GoPro assigned me and nmap helped me discover the GoPro was on
I had to ask the GoPro to start streaming by visiting
the result returned JSON with
"status": 2,
"error": 0
After that the gopro starts transmitting video packets over UDP. Can see them in VLC with url udp://@:8554 . There's a way to format the url to only allow incoming UDP from the relevant IP, but I never managed to master that in VLC. A complication is that these are IP broadcast packets and not regular IP/UDP packets with a standard source and dest ip
In obs-studio, messing around with the VLC source stuff was not fruitful, but things became awesome once I added a media source, unchecked local file and this allowed me to include a network media source with url udp://
From what I've read, I can also ditch the USB cable and ask this thing to join a wifi network and get it to start broadcasting UDP packets there
hmmm, the gopro hero 9 is very much an internet of things device, what could possibly go wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment