Skip to content

Commit

Permalink
Regenerate for 0.8.0 release (muxinc#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
philcluff authored May 7, 2020
1 parent a657a74 commit 44d7c7a
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
)

// APIClient manages communication with the Mux Video API vv1
// APIClient manages communication with the Mux API API vv1
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
Expand Down
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.7.0",
userAgent: "Mux Go | 0.8.0",
}
for _, opt := range opts {
opt(cfg)
Expand Down
2 changes: 1 addition & 1 deletion docs/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Name | Type | Description | Notes
**AspectRatio** | **string** | | [optional]
**PlaybackIds** | [**[]PlaybackId**](PlaybackID.md) | | [optional]
**Tracks** | [**[]Track**](Track.md) | | [optional]
**Demo** | **bool** | | [optional]
**Errors** | [**AssetErrors**](Asset_errors.md) | | [optional]
**PerTitleEncode** | **bool** | | [optional]
**IsLive** | **bool** | | [optional]
Expand All @@ -24,6 +23,7 @@ Name | Type | Description | Notes
**Mp4Support** | **string** | | [optional] [default to MP4_SUPPORT_NONE]
**NormalizeAudio** | **bool** | | [optional] [default to false]
**StaticRenditions** | [**AssetStaticRenditions**](Asset_static_renditions.md) | | [optional]
**Test** | **bool** | | [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
2 changes: 1 addition & 1 deletion docs/CreateAssetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Input** | [**[]InputSettings**](InputSettings.md) | | [optional]
**PlaybackPolicy** | [**[]PlaybackPolicy**](PlaybackPolicy.md) | | [optional]
**Demo** | **bool** | | [optional]
**PerTitleEncode** | **bool** | | [optional]
**Passthrough** | **string** | | [optional]
**Mp4Support** | **string** | | [optional]
**NormalizeAudio** | **bool** | Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets. | [optional] [default to false]
**MasterAccess** | **string** | | [optional]
**Test** | **bool** | | [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
1 change: 1 addition & 0 deletions docs/CreateLiveStreamRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**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. Defaults to 60 seconds on the API if not specified. | [optional]
**Passthrough** | **string** | | [optional]
**ReducedLatency** | **bool** | 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/ | [optional]
**Test** | **bool** | | [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
1 change: 1 addition & 0 deletions docs/CreateUploadRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
**Timeout** | **int32** | Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked `timed_out` | [optional] [default to 3600]
**CorsOrigin** | **string** | If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers. | [optional]
**NewAssetSettings** | [**CreateAssetRequest**](CreateAssetRequest.md) | |
**Test** | **bool** | | [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
1 change: 1 addition & 0 deletions docs/LiveStream.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Name | Type | Description | Notes
**ReconnectWindow** | **float32** | | [optional]
**ReducedLatency** | **bool** | | [optional]
**SimulcastTargets** | [**[]SimulcastTarget**](SimulcastTarget.md) | | [optional]
**Test** | **bool** | | [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
1 change: 1 addition & 0 deletions docs/Upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Name | Type | Description | Notes
**Error** | [**UploadError**](Upload_error.md) | | [optional]
**CorsOrigin** | **string** | If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers. | [optional]
**Url** | **string** | The URL to upload the associated source media to. | [optional]
**Test** | **bool** | | [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
2 changes: 1 addition & 1 deletion model_asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ type Asset struct {
AspectRatio string `json:"aspect_ratio,omitempty"`
PlaybackIds []PlaybackId `json:"playback_ids,omitempty"`
Tracks []Track `json:"tracks,omitempty"`
Demo bool `json:"demo,omitempty"`
Errors AssetErrors `json:"errors,omitempty"`
PerTitleEncode bool `json:"per_title_encode,omitempty"`
IsLive bool `json:"is_live,omitempty"`
Expand All @@ -25,4 +24,5 @@ type Asset struct {
Mp4Support string `json:"mp4_support,omitempty"`
NormalizeAudio bool `json:"normalize_audio,omitempty"`
StaticRenditions AssetStaticRenditions `json:"static_renditions,omitempty"`
Test bool `json:"test,omitempty"`
}
2 changes: 1 addition & 1 deletion model_create_asset_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ package muxgo
type CreateAssetRequest struct {
Input []InputSettings `json:"input,omitempty"`
PlaybackPolicy []PlaybackPolicy `json:"playback_policy,omitempty"`
Demo bool `json:"demo,omitempty"`
PerTitleEncode bool `json:"per_title_encode,omitempty"`
Passthrough string `json:"passthrough,omitempty"`
Mp4Support string `json:"mp4_support,omitempty"`
// Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.
NormalizeAudio bool `json:"normalize_audio,omitempty"`
MasterAccess string `json:"master_access,omitempty"`
Test bool `json:"test,omitempty"`
}
1 change: 1 addition & 0 deletions model_create_live_stream_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ type CreateLiveStreamRequest struct {
Passthrough string `json:"passthrough,omitempty"`
// 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/
ReducedLatency bool `json:"reduced_latency,omitempty"`
Test bool `json:"test,omitempty"`
}
1 change: 1 addition & 0 deletions model_create_upload_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ type CreateUploadRequest struct {
// If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers.
CorsOrigin string `json:"cors_origin,omitempty"`
NewAssetSettings CreateAssetRequest `json:"new_asset_settings"`
Test bool `json:"test,omitempty"`
}
1 change: 1 addition & 0 deletions model_live_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ type LiveStream struct {
ReconnectWindow float32 `json:"reconnect_window,omitempty"`
ReducedLatency bool `json:"reduced_latency,omitempty"`
SimulcastTargets []SimulcastTarget `json:"simulcast_targets,omitempty"`
Test bool `json:"test,omitempty"`
}
3 changes: 2 additions & 1 deletion model_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ type Upload struct {
// If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers.
CorsOrigin string `json:"cors_origin,omitempty"`
// The URL to upload the associated source media to.
Url string `json:"url,omitempty"`
Url string `json:"url,omitempty"`
Test bool `json:"test,omitempty"`
}

0 comments on commit 44d7c7a

Please sign in to comment.