Skip to content

Commit 854b743

Browse files
authored
Merge pull request muxinc#5 from muxinc/livestream-fixes
Regenerate to fix passthrough and reconnect_window on Live Streams.
2 parents 82c1487 + f8466b2 commit 854b743

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

‎configuration.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type ConfigurationOption func(*Configuration)
2222
func NewConfiguration(opts ...ConfigurationOption) *Configuration {
2323
cfg := &Configuration{
2424
basePath: "https://api.mux.com",
25-
userAgent: "Mux Go | 0.2.0",
25+
userAgent: "Mux Go | 0.2.1",
2626
}
2727
for _, opt := range opts {
2828
opt(cfg)

‎docs/CreateLiveStreamRequest.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**PlaybackPolicy** | [**[]PlaybackPolicy**](PlaybackPolicy.md) | | [optional]
77
**NewAssetSettings** | [**CreateAssetRequest**](CreateAssetRequest.md) | | [optional]
8+
**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]
9+
**Passthrough** | **string** | | [optional]
810

911
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1012

‎model_create_live_stream_request.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@ package muxgo
66
type CreateLiveStreamRequest struct {
77
PlaybackPolicy []PlaybackPolicy `json:"playback_policy,omitempty"`
88
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. Default: 60 seconds
10+
ReconnectWindow float32 `json:"reconnect_window,omitempty"`
11+
Passthrough string `json:"passthrough,omitempty"`
912
}

0 commit comments

Comments
 (0)