Package com.opentok
Class BroadcastProperties
- java.lang.Object
-
- com.opentok.BroadcastProperties
-
public class BroadcastProperties extends java.lang.Object
Defines values for theproperties
parameter of theOpenTok.startBroadcast(String sessionId, BroadcastProperties properties)
method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BroadcastProperties.Builder
Used to create a BroadcastProperties object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMultiBroadcastTag()
Returns 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
hls()
The HLS configuration object, ornull
ifhasHls
is false.BroadcastLayout
layout()
The layout of the broadcast.int
maxDuration()
The maximum duration in seconds of the broadcast.java.lang.String
resolution()
Returns the resolution of the broadcast.java.util.List<RtmpProperties>
rtmpList()
Returns the RtmpProperties list.Broadcast.StreamMode
streamMode()
The stream mode of the broadcast.
-
-
-
Method Detail
-
layout
public BroadcastLayout layout()
The layout of the broadcast.
-
maxDuration
public int maxDuration()
The maximum duration in seconds 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
).
-
rtmpList
public java.util.List<RtmpProperties> rtmpList()
Returns the RtmpProperties list.
-
resolution
public java.lang.String resolution()
Returns the resolution of the broadcast.
-
getMultiBroadcastTag
public java.lang.String getMultiBroadcastTag()
Returns the multiBroadcastTag, if present.
-
streamMode
public Broadcast.StreamMode streamMode()
The stream mode of the broadcast.
-
-