private static IngestTextTrack MapToIngestTextTrack(TextTrackInfo value) { return(new IngestTextTrack { Default = value.Default, Kind = value.Kind, Label = value.Label, Url = value.Src, SrcLang = value.SrcLang }); }
private static VideoTextTrack MapToVideoTextTrack(TextTrackInfo value) { return(new VideoTextTrack { Default = value.Default, Kind = value.Kind, Label = value.Label, MimeType = value.MimeType, Src = value.Src, SrcLang = value.SrcLang }); }
private bool MapFileUploadInfo(TextTrackInfo i, UploadFileInfo j) { i.Src = j.Url; i.IsUpload = true; return(true); }