forked from muxinc/mux-go
/
model_simulcast_target.go
17 lines (15 loc) · 1.46 KB
/
model_simulcast_target.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Mux Go - Copyright 2019 Mux Inc.
// NOTE: This file is auto generated. Do not edit this file manually.
package muxgo
type SimulcastTarget struct {
// ID of the Simulcast Target
Id string `json:"id,omitempty"`
// Arbitrary Metadata set when creating a simulcast target.
Passthrough string `json:"passthrough,omitempty"`
// The current status of the simulcast target. See Statuses below for detailed description. * `idle`: Default status. When the parent live stream is in disconnected status, simulcast targets will be idle state. * `starting`: The simulcast target transitions into this state when the parent live stream transition into connected state. * `broadcasting`: The simulcast target has successfully connected to the third party live streaming service and is pushing video to that service. * `errored`: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. Compared to other errored statuses in the Mux Video API, a simulcast may transition back into the broadcasting state if a connection with the service can be re-established.
Status string `json:"status,omitempty"`
// Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too.
StreamKey string `json:"stream_key,omitempty"`
// RTMP hostname including the application name for the third party live streaming service.
Url string `json:"url,omitempty"`
}