androidlive-streaminggopro

Live Stream from GoPro 4 Session to Android unoffically


I am developing an Android app to get the live stream from a GoPro 4 Session to the app.

In previous GoPro models, the live stream can be got by the URL request http://10.5.5.9:8080/live/aaba.m3u8

However, in GoPro Hero 4 models, the URL request has been changed to http://10.5.5.9/gp/gpControl/execute?p1=gpStream&c1=start

And it requires ffplay and a python script to keep the streaming alive.

I would like to know if this can be done in an Android app.

I do not need to have a good quality and smooth streaming as I only need to get the view of the camera.

I have the idea of configuring the GoPro to Picture mode and take picture at 1 second interval. Then get the image from 100GOPRO/DCIM on the Android app per second. Can this be done in Android also?

Thanks anyone!


Solution

  • I haven't tried it myself so far but I found a comprehensive github repository sharing streaming information about many GoPro cameras: https://github.com/KonradIT/goprowifihack

    1. wake up the session first like described here
    2. Restart the stream with http://10.5.5.9/gp/gpControl/execute?p1=gpStream&a1=proto_v2&c1=restart
    3. Then stream via udp://10.5.5.9:8554 source