-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathmodel_simulcast_target.go
19 lines (17 loc) · 2.53 KB
/
model_simulcast_target.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 user-supplied 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. When a simulcast target has this status it will have an `error_severity` field with more details about the error.
Status string `json:"status,omitempty"`
// Stream Key represents a stream identifier on the third party live streaming service to send the parent live stream to. Only used for RTMP(s) simulcast destinations.
StreamKey string `json:"stream_key,omitempty"`
// The RTMP(s) or SRT endpoint for a simulcast destination. * For RTMP(s) destinations, this should include the application name for the third party live streaming service, for example: `rtmp://live.example.com/app`. * For SRT destinations, this should be a fully formed SRT connection string, for example: `srt://srt-live.example.com:1234?streamid={stream_key}&passphrase={srt_passphrase}`. Note: SRT simulcast targets can only be used when an source is connected over SRT.
Url string `json:"url,omitempty"`
// The severity of the error encountered by the simulcast target. This field is only set when the simulcast target is in the `errored` status. See the values of severities below and their descriptions. * `normal`: The simulcast target encountered an error either while attempting to connect to the third party live streaming service, or mid-broadcasting. A simulcast may transition back into the broadcasting state if a connection with the service can be re-established. * `fatal`: The simulcast target is incompatible with the current input to the parent live stream. No further attempts to this simulcast target will be made for the current live stream asset.
ErrorSeverity string `json:"error_severity,omitempty"`
}