gopro / OpenGoPro

An open source interface specification to communicate with a GoPro camera with accompanying demos and tutorials.
https://gopro.github.io/OpenGoPro/
MIT License
652 stars 148 forks source link

How to test video preview stream #557

Open ttakao opened 2 weeks ago

ttakao commented 2 weeks ago

I'm try to use API 'Start Preview Stream'. On the API document, UDP data is provide from port 8556. Data format is MPEG Transport Stream data MPEG2-TS. I guess data souce might be; 10.5.5.9:8556 But I cannot watch data on VCN or other streaming programs. Could you tell me how do you test this API result ?

tcamise-gpsw commented 3 days ago

The Preview Stream is documented here

Also the Python SDK includes a demo showing the Preview Stream which uses udp://127.0.0.1:{port} where the port is configured from CLI input and defaults to 8554.

It looks like your main problem above is the port. As stated in the spec, the default port is 8554