OpenGoPro icon indicating copy to clipboard operation
OpenGoPro copied to clipboard

Camera stream not visible

Open developer-appdam opened this issue 2 years ago • 3 comments

Component What is the bug in? Demos (swift) Tutorials

Describe the bug Can't get the liveview to work. We are currently implementing it in Swift and we can't get anything close to a stream or images.

To Reproduce Steps to reproduce the behavior:

  1. Connect to the Gopro(using the way explained in the tutorials)
  2. Set the GoPro to stream with the command /gp/gpControl/execute?p1=gpStream&c1=restart
  3. Play the stream using MJPEGStreamLib(for Swift) using the following URL udp://127.0.0.1:8555/gopro?pkt_size=64(also tried with 10.5.5.9)

Expected behavior A visible stream when playing the UDP stream

Hardware

  • Camera: Hero9 and Hero 10, etc.

developer-appdam avatar Jun 27 '22 14:06 developer-appdam

  1. You're not using the OpenGoPro Start Stream URL, rather the unofficial one
  2. The port is 8554, and the IP is 10.5.5.9, no substream needed.

KonradIT avatar Jun 27 '22 14:06 KonradIT

Alright, thanks for point 1. As for point 2, that doesn't seem yet to work quite well on my side. With no substream needed you mean that just udp://10.5.5.9:8554 should do it?

I keep getting packages but those packages are somehow not decodable/readable. What's the format?

developer-appdam avatar Jun 27 '22 17:06 developer-appdam

Correct UDP URI.

KonradIT avatar Jun 27 '22 19:06 KonradIT

The correct URL for the UDP stream is udp://@0.0.0.0:8554 and the format should be an MPEG transport stream. If you're having issues try verifying the stream is playing correctly by opening it as a network stream in VLC.

bfreeland-gpsw avatar Oct 26 '22 22:10 bfreeland-gpsw

@developer-appdam Is this still a problem? Were you able to verify the network stream in VLC as suggested above?

tcamise-gpsw avatar Nov 15 '22 16:11 tcamise-gpsw

I will check it out this week. Had no time before, so let me come back to you on this.

developer-appdam avatar Nov 15 '22 16:11 developer-appdam

Closing due to inactivity and inability to reproduce

tcamise-gpsw avatar Dec 06 '23 17:12 tcamise-gpsw