/// <summary>
 /// Sets the streans that are allowed to be used in this ISegment.
 /// </summary>
 /// <param name="streams">The list of streams that are allowed to be used.</param>
 public void SetRestrictStreams(IEnumerable <IMediaStream> streams)
 {
     _segmentInfo.RestrictStreams(streams.OfType <MediaStream>().Select(i => i.StreamInfo).ToList());
 }