public static class RtmpProperties.Builder
extends java.lang.Object
RtmpProperties| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RtmpProperties |
build()
Builds the RtmpProperties object.
|
RtmpProperties.Builder |
id(java.lang.String id)
Call this method to set the ID of the RTMP stream (optional).
|
RtmpProperties.Builder |
serverUrl(java.lang.String serverUrl)
Call this method to set the RTMP server URL.
|
RtmpProperties.Builder |
streamName(java.lang.String streamName)
Call this method to set the stream name, such as the YouTube Live stream name or the Facebook stream key.
|
public RtmpProperties.Builder id(java.lang.String id)
Broadcast object.id - The stream IDpublic RtmpProperties.Builder serverUrl(java.lang.String serverUrl)
serverUrl - The RTMP server URLpublic RtmpProperties.Builder streamName(java.lang.String streamName)
streamName - The stream name.public RtmpProperties build()