Table of Contents

Class Broadcast.BroadcastUrl

Namespace
Vonage.Video.Broadcast
Assembly
Vonage.dll

Represents information regarding HLS and RTMP broadcasts.

public record Broadcast.BroadcastUrl : IEquatable<Broadcast.BroadcastUrl>
Inheritance
Broadcast.BroadcastUrl
Implements
Inherited Members

Constructors

BroadcastUrl(Uri, RtmpStream[])

Represents information regarding HLS and RTMP broadcasts.

public BroadcastUrl(Uri Hls, Broadcast.RtmpStream[] Rtmp)

Parameters

Hls Uri

If you specified an HLS endpoint, the object includes an hls property, which is set to the URL for the HLS broadcast. Note this HLS broadcast URL points to an index file, an .M3U8- formatted playlist that contains a list of URLs to .ts media segment files (MPEG-2 transport stream files). While the URLs of both the playlist index file and media segment files are provided as soon as the HTTP response is returned, these URLs should not be accessed until 15 – 20 seconds later, after the initiation of the HLS broadcast, due to the delay between the HLS broadcast and the live streams in the Vonage Video session. See https://developer.apple.com/library/ios/technotes/tn2288/_index.html for more information about the playlist index file and media segment files for HLS.

Rtmp RtmpStream[]

If you specified RTMP stream endpoints, the object includes an rtmp property. This is an array of objects that include information on each of the RTMP streams. Each of these objects has the following properties: id (the ID you assigned to the RTMP stream),serverUrl (the server URL), streamName (the stream name), and status property (which is set to "connecting"). You can call the Vonage Video REST method to check for status updates for the broadcast.

Properties

Hls

If you specified an HLS endpoint, the object includes an hls property, which is set to the URL for the HLS broadcast. Note this HLS broadcast URL points to an index file, an .M3U8- formatted playlist that contains a list of URLs to .ts media segment files (MPEG-2 transport stream files). While the URLs of both the playlist index file and media segment files are provided as soon as the HTTP response is returned, these URLs should not be accessed until 15 – 20 seconds later, after the initiation of the HLS broadcast, due to the delay between the HLS broadcast and the live streams in the Vonage Video session. See https://developer.apple.com/library/ios/technotes/tn2288/_index.html for more information about the playlist index file and media segment files for HLS.

public Uri Hls { get; init; }

Property Value

Uri

Rtmp

If you specified RTMP stream endpoints, the object includes an rtmp property. This is an array of objects that include information on each of the RTMP streams. Each of these objects has the following properties: id (the ID you assigned to the RTMP stream),serverUrl (the server URL), streamName (the stream name), and status property (which is set to "connecting"). You can call the Vonage Video REST method to check for status updates for the broadcast.

public Broadcast.RtmpStream[] Rtmp { get; init; }

Property Value

RtmpStream[]