github.com/muxinc/mux-go@v1.1.1/model_create_live_stream_request.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 CreateLiveStreamRequest struct {
     7  	PlaybackPolicy   []PlaybackPolicy   `json:"playback_policy,omitempty"`
     8  	NewAssetSettings CreateAssetRequest `json:"new_asset_settings,omitempty"`
     9  	// When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Defaults to 60 seconds on the API if not specified.
    10  	ReconnectWindow float32 `json:"reconnect_window,omitempty"`
    11  	Passthrough     string  `json:"passthrough,omitempty"`
    12  	// Force the live stream to only process the audio track when the value is set to true. Mux drops the video track if broadcasted.
    13  	AudioOnly bool `json:"audio_only,omitempty"`
    14  	// Describe the subtitle contents of the incoming live stream.
    15  	EmbeddedSubtitles []LiveStreamEmbeddedSubtitleSettings `json:"embedded_subtitles,omitempty"`
    16  	// Latency is the time from when the streamer does something in real life to when you see it happen in the player. Set this if you want lower latency for your live stream. Note: Reconnect windows are incompatible with Reduced Latency and will always be set to zero (0) seconds. Read more here: https://mux.com/blog/reduced-latency-for-mux-live-streaming-now-available/
    17  	ReducedLatency bool `json:"reduced_latency,omitempty"`
    18  	// Latency is the time from when the streamer does something in real life to when you see it happen in the player. Setting this option will enable compatibility with the LL-HLS specification for low-latency streaming. This typically has lower latency than Reduced Latency streams, and cannot be combined with Reduced Latency. Note: Reconnect windows are incompatible with Low Latency and will always be set to zero (0) seconds.
    19  	LowLatency bool `json:"low_latency,omitempty"`
    20  	// Marks the live stream as a test live stream when the value is set to true. A test live stream can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test live streams created. Test live streams are watermarked with the Mux logo and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.
    21  	Test             bool                           `json:"test,omitempty"`
    22  	SimulcastTargets []CreateSimulcastTargetRequest `json:"simulcast_targets,omitempty"`
    23  }