OpenGoPro icon indicating copy to clipboard operation
OpenGoPro copied to clipboard

`gopro-livestream` demo not working. set shutter enable raises `TimeoutError`

Open LordXerus opened this issue 7 months ago • 0 comments

First ensure you are using a camera that is currently supported by Open GoPro. Any other tickets will be rejected

GoPro Hero 10 Black is currently supported Component What is the bug in?

  • Demos (python sdk, etc)
  • Tutorials
  • Documentation
  • Specs (BLE, HTTP)

Describe the bug When running the demo, the GoPro camera returns some unknown responses after connecting to the Wi-Fi hotspot. Then it times out on the Shutter Enable line of the code. The GoPro camera also stop responding to touch shortly after.

We were able to livestream to the same server via the RTMP option on the Quik App.

To Reproduce Steps to reproduce the behavior:

  1. Open a suitable RTMP server. My laptop is running Arch Linux with an nginx server + nginx rtmp mod. VLC is used to playback the stream.
  2. We used a hotspot on an Android phone to connect the laptop and the gopro.
  3. Run the gopro-livestream demo with ssid, wifipass, and rtmp url. The rtmp url we used is rtmp://192.168.219.104/live. This setting works on the Quik app, but not in the demo. We are running the demo off the same laptop.
  4. Sometimes the demo cannot find the GoPro camera. In this case we swipe down > swipe left > Connections > Connect Device > GoPro Quik App.
  5. After the GoPro connects to the hotspot, it errors out on setting up the live stream.
  6. See error

Output of gopro-livestream ... | tee gopro-livestream-out.txt gopro-livestream-out.txt

gopro_demo.log

Expected behavior The live stream should start on our server, like how it does with the Quik app.

Screenshots ~~If applicable, add screenshots to help explain your problem.~~ Nothing visual. Mostly errors in the command line.

Hardware

  • Camera: GoPro Hero 10 Black
  • ~~Desktop~~ Laptop if applicable: Laptop with Arch Linux + Python 3.11 + Nginx
  • Smartphone if applicable (for Quik App): iPhone 13
  • Smartphone for hotspot: Google Pixel 7

Laptop runs Nginx + RTMP mod + VLC Phone runs hotspot Laptop w/ demo or iPhone w/ Quik app sends BLE to GoPro camera GoPro camera streams back to Laptop via Android phone hotspot

Additional context Add any other context about the problem here.

LordXerus avatar Jul 04 '24 22:07 LordXerus