public class BroadcastProperties
extends java.lang.Object
properties parameter of the
OpenTok.startBroadcast(String sessionId, BroadcastProperties properties) method.| Modifier and Type | Class and Description |
|---|---|
static class |
BroadcastProperties.Builder
Used to create a BroadcastProperties object.
|
| Modifier and Type | Method and 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, or
null if hasHls is false. |
BroadcastLayout |
layout()
The layout of the broadcast.
|
int |
maxBitrate()
The maximum bitrate in bits per second 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.
|
public BroadcastLayout layout()
public int maxDuration()
public int maxBitrate()
public boolean hasHls()
true) or not (false).public boolean hasAudio()
true) or not (false).public boolean hasVideo()
true) or not (false).public java.util.List<RtmpProperties> rtmpList()
public java.lang.String resolution()
public java.lang.String getMultiBroadcastTag()
public Broadcast.StreamMode streamMode()