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 class
Used to create a BroadcastProperties object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the multiBroadcastTag, if present.boolean
hasAudio()
Whether the broadcast has audio (true
) or not (false
).boolean
hasHls()
Whether the broadcast has HLS (true
) or not (false
).boolean
hasVideo()
Whether the broadcast has video (true
) or not (false
).hls()
The HLS configuration object, ornull
ifhasHls
is false.layout()
The layout of the broadcast.int
The maximum bitrate in bits per second of the broadcast.int
The 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, ornull
ifhasHls
is 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.
-