/// <summary> /// Returns the HLS version 3 URL of the <paramref name="originLocator"/>; otherwise, null. /// </summary> /// <param name="originLocator">The <see cref="ILocator"/> instance.</param> /// <returns>A <see cref="System.Uri"/> representing the HLS version 3 URL of the <paramref name="originLocator"/>; otherwise, null.</returns> public static Uri GetHlsv3Uri(this ILocator originLocator) { return(originLocator.GetStreamingUri(Hlsv3StreamingParameter)); }
/// <summary> /// Returns the MPEG-DASH URL of the <paramref name="originLocator"/>; otherwise, null. /// </summary> /// <param name="originLocator">The <see cref="ILocator"/> instance.</param> /// <returns>A <see cref="System.Uri"/> representing the MPEG-DASH URL of the <paramref name="originLocator"/>; otherwise, null.</returns> public static Uri GetMpegDashUri(this ILocator originLocator) { return(originLocator.GetStreamingUri(MpegDashStreamingParameter)); }
/// <summary> /// Returns the Smooth Streaming URL of the <paramref name="originLocator"/>; otherwise, null. /// </summary> /// <param name="originLocator">The <see cref="ILocator"/> instance.</param> /// <returns>A <see cref="System.Uri"/> representing the Smooth Streaming URL of the <paramref name="originLocator"/>; otherwise, null.</returns> public static Uri GetSmoothStreamingUri(this ILocator originLocator) { return(originLocator.GetStreamingUri(string.Empty)); }