Skip to content

Commit

Permalink
Merge pull request #5 from muxinc/livestream-fixes
Browse files Browse the repository at this point in the history
Regenerate to fix passthrough and reconnect_window on Live Streams.
  • Loading branch information
philcluff authored Jul 12, 2019
2 parents 82c1487 + f8466b2 commit 854b743
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions docs/CreateLiveStreamRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 3 additions & 0 deletions model_create_live_stream_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

0 comments on commit 854b743

Please sign in to comment.