Package com.opentok
Class BroadcastProperties
java.lang.Object
com.opentok.BroadcastProperties
Defines values for the
properties parameter of the
OpenTok.startBroadcast(String sessionId, BroadcastProperties properties) method.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classUsed to create a BroadcastProperties object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the multiBroadcastTag, if present.booleanhasAudio()Whether the broadcast has audio (true) or not (false).booleanhasHls()Whether the broadcast has HLS (true) or not (false).booleanhasVideo()Whether the broadcast has video (true) or not (false).hls()The HLS configuration object, ornullifhasHlsis false.layout()The layout of the broadcast.intThe maximum bitrate in bits per second of the broadcast.intThe maximum duration in seconds of the broadcast.Returns the resolution of the broadcast.rtmpList()Returns the RtmpProperties list.The stream mode of the broadcast.
-
Method Details
-
layout
The layout of the broadcast. -
maxDuration
public int maxDuration()The maximum duration in seconds of the broadcast. -
maxBitrate
public int maxBitrate()The maximum bitrate in bits per second of the broadcast. -
hasHls
public boolean hasHls()Whether the broadcast has HLS (true) or not (false). -
hasAudio
public boolean hasAudio()Whether the broadcast has audio (true) or not (false). -
hasVideo
public boolean hasVideo()Whether the broadcast has video (true) or not (false). -
hls
The HLS configuration object, ornullifhasHlsis false. -
rtmpList
Returns the RtmpProperties list. -
resolution
Returns the resolution of the broadcast. -
getMultiBroadcastTag
Returns the multiBroadcastTag, if present. -
streamMode
The stream mode of the broadcast.
-