func Representations(mpd *url.URL, mpdBody []byte) error
Representations parses the MPD, calculates the true bitrate for the middle representation of each group, and prints them in sorted order.
func Transport(policy func(*http.Request) string)
github.com/golang/go/issues/25793
Config holds downloader configuration
type Config struct { Send func([]byte) ([]byte, error) Threads int CertificateChain string EncryptSignKey string ClientId string PrivateKey string DecryptionKey string }
func (c *Config) Download(mpd *url.URL, mpdBody []byte, key string) error
Download retrieves the specific group of Representations from the MPD using the ID key (which may be a simplified sequence number "0", "1"...).