Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VideoAssetInOut"/> class.
 /// </summary>
 /// <param name="videoAsset">The video asset.</param>
 public VideoAssetInOut(VideoAsset videoAsset)
 {
     this.VideoAsset      = videoAsset;
     this.Id              = videoAsset.Id;
     this.ProviderUri     = videoAsset.ProviderUri;
     this.Title           = videoAsset.Title;
     this.Source          = videoAsset.Source;
     this.Height          = videoAsset.Height;
     this.Width           = videoAsset.Width;
     this.ResourceType    = videoAsset.ResourceType;
     this.ThumbnailSource = videoAsset.ThumbnailSource;
     this.Metadata        = videoAsset.Metadata;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SubClip"/> class.
 /// </summary>
 /// <param name="videoAsset">The video asset.</param>
 public SubClip(VideoAsset videoAsset)
 {
     this.VideoAsset           = videoAsset;
     this.Id                   = videoAsset.Id;
     this.ProviderUri          = videoAsset.ProviderUri;
     this.Title                = videoAsset.Title;
     this.Source               = videoAsset.Source;
     this.Height               = videoAsset.Height;
     this.Width                = videoAsset.Width;
     this.ResourceType         = videoAsset.ResourceType;
     this.ThumbnailSource      = videoAsset.ThumbnailSource;
     this.Metadata             = videoAsset.Metadata;
     this.SequenceAudioStreams = new List <AudioStream>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VideoAssetInOut"/> class.
 /// </summary>
 /// <param name="videoAsset">The video asset.</param>
 public VideoAssetInOut(VideoAsset videoAsset)
 {
     this.VideoAsset           = videoAsset;
     this.Id                   = Guid.NewGuid();
     this.CMSId                = videoAsset.CMSId;
     this.AzureId              = videoAsset.AzureId;
     this.ArchiveURL           = videoAsset.ArchiveURL;
     this.ProviderUri          = videoAsset.ProviderUri;
     this.Title                = videoAsset.Title;
     this.Source               = videoAsset.Source;
     this.Height               = videoAsset.Height;
     this.Width                = videoAsset.Width;
     this.ResourceType         = videoAsset.ResourceType;
     this.ThumbnailSource      = videoAsset.ThumbnailSource;
     this.Metadata             = videoAsset.Metadata;
     this.AddMarkersToSequence = true;
     this.SequenceAudioStreams = new List <AudioStream>();
     this.PlayByPlayMarkers    = new List <PlayByPlay>();
 }