Package com.vonage.client.video
Class BroadcastUrls
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.video.BroadcastUrls
- All Implemented Interfaces:
Jsonable
Container for details about the HLS and RTMP broadcasts.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
BroadcastUrls
public BroadcastUrls()
-
-
Method Details
-
getHls
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 the Apple developer documentation for more information about the playlist index file and media segment files for HLS.- Returns:
- The HLS URL.
-
getRtmps
If you specified RTMP stream endpoints, this property will be non-null. This list includes information on each of the RTMP streams.- Returns:
- Details of the RTMP streams.
-