diff --git a/configuration.go b/configuration.go index d702e3a..feaa8c7 100644 --- a/configuration.go +++ b/configuration.go @@ -22,7 +22,7 @@ type ConfigurationOption func(*Configuration) func NewConfiguration(opts ...ConfigurationOption) *Configuration { cfg := &Configuration{ basePath: "https://api.mux.com", - userAgent: "Mux Go | 0.2.0", + userAgent: "Mux Go | 0.2.1", } for _, opt := range opts { opt(cfg) diff --git a/docs/CreateLiveStreamRequest.md b/docs/CreateLiveStreamRequest.md index 42cfc3e..42f47f5 100644 --- a/docs/CreateLiveStreamRequest.md +++ b/docs/CreateLiveStreamRequest.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **PlaybackPolicy** | [**[]PlaybackPolicy**](PlaybackPolicy.md) | | [optional] **NewAssetSettings** | [**CreateAssetRequest**](CreateAssetRequest.md) | | [optional] +**ReconnectWindow** | **float32** | 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. Default: 60 seconds | [optional] [default to 60] +**Passthrough** | **string** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/model_create_live_stream_request.go b/model_create_live_stream_request.go index 1f09b1f..2f5f7ff 100644 --- a/model_create_live_stream_request.go +++ b/model_create_live_stream_request.go @@ -6,4 +6,7 @@ package muxgo type CreateLiveStreamRequest struct { PlaybackPolicy []PlaybackPolicy `json:"playback_policy,omitempty"` NewAssetSettings CreateAssetRequest `json:"new_asset_settings,omitempty"` + // 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. Default: 60 seconds + ReconnectWindow float32 `json:"reconnect_window,omitempty"` + Passthrough string `json:"passthrough,omitempty"` }