MediaTailorSource
public class MediaTailorSource : TypedSource
A TypedSource
with MediaTailor integration.
Describing a source in Swift like this:
MediaTailorSource(
src: "https://your.url.here",
type: "application/x-mpegurl"
)
Will result in a source that is the equivalent of the following JSON TypedSource:
{
"integration": "mediatailor",
"src": "https://your.url.here"
"type": "application/x-mpegurl",
}
-
Declaration
Swift
public override func encode(to encoder: Encoder) throws