Skip to main content

Live Streaming

The camera supports the ability to stream to social media platforms such as Twitch, YouTube, Facebook or any other site that accepts RTMP(S) URLs.

The livestream is transferred via RTMP as AVC/h264. For additional details about getting started with RTMP, see How to Stream.

Live streaming with camera is accomplished as follows:

  1. Put the camera into Station Mode and connect it to an access point
  2. Use Set Livestream Mode to configure livestreaming.
  3. Poll for Livestream Status until the camera indicates it is ready
  4. Set the shutter to begin live streaming
  5. Unset the shutter to stop live streaming

Live Streaming Flow

Metadata​

The following fields are reported as RTMP Metadata:

FieldTypeDescription
creatorstring"GoPro Hero"
encoderstringSerial Number (e.g. "C35313DVT1X220")
widthnumberstream resolution width
heightnumberstream resolution height
videodataratenumberstream bitrate
frameratenumberstream framerate
videocodecidnumber7
audiocodecidnumber10
audiodataratenumberaudio bitrate
audiosampleratenumberaudio sample rate
audiosamplesizenumber16
stereobooleanTrue if audio has 2 channels, False otherwise
filesizenumbersize of the file

Operations​

Get Livestream Status​

Loading...Loading...Loading...

Set Livestream Mode​

note

The current Livestream Mode can be queried via Get Livestream Status.

Loading...Loading...