github.com/muxinc/mux-go@v1.1.1/model_create_track_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 CreateTrackRequest struct { 7 Url string `json:"url"` 8 Type string `json:"type"` 9 TextType string `json:"text_type"` 10 // The language code value must be a valid BCP 47 specification compliant value. For example, en for English or en-US for the US version of English. 11 LanguageCode string `json:"language_code"` 12 // The name of the track containing a human-readable description. This value must be unique across all the text type and subtitles text type tracks. HLS manifest will associate subtitle text track with this value. For example, set the value to \"English\" for subtitles text track with language_code as en-US. If this parameter is not included, Mux will auto-populate based on the language_code value. 13 Name string `json:"name,omitempty"` 14 // Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). 15 ClosedCaptions bool `json:"closed_captions,omitempty"` 16 // Arbitrary metadata set for the track either when creating the asset or track. 17 Passthrough string `json:"passthrough,omitempty"` 18 }