Skip to content

Instantly share code, notes, and snippets.

@4c00h
4c00h / GoProStreamKeepAlive.py
Created May 19, 2018 05:24 — forked from nurrony/GoProStreamKeepAlive.py
Keep alive the GoPro Hero 4 Black/Silver Stream
#Go to http://10.5.5.9:8080/gp/gpControl/execute?p1=gpStream&c1=restart before running this script
import socket
import sys
from time import sleep
def get_command_msg(id):
return "_GPHD_:%u:%u:%d:%1lf\n" % (0, 0, 2, 0)
UDP_IP = "10.5.5.9"
UDP_PORT = 8554