github.com/muxinc/mux-go@v1.1.1/model_simulcast_target.go (about) 1 // Mux Go - Copyright 2019 Mux Inc. 2 // NOTE: This file is auto generated. Do not edit this file manually. 3 4 package muxgo 5 6 type SimulcastTarget struct { 7 // ID of the Simulcast Target 8 Id string `json:"id,omitempty"` 9 // Arbitrary Metadata set when creating a simulcast target. 10 Passthrough string `json:"passthrough,omitempty"` 11 // 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. 12 Status string `json:"status,omitempty"` 13 // Stream Key represents an stream identifier for the third party live streaming service to simulcast the parent live stream too. 14 StreamKey string `json:"stream_key,omitempty"` 15 // RTMP hostname including the application name for the third party live streaming service. 16 Url string `json:"url,omitempty"` 17 }