Package com.vonage.client.video
Class Rtmp.Builder
java.lang.Object
com.vonage.client.video.Rtmp.Builder
- Enclosing class:
Rtmp
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Constructs a Rtmp instance with this builder's properties.(OPTIONAL) Sets a unique ID for the stream.(REQUIRED) The RTMP server URL.streamName(String streamName) (REQUIRED) Sets the stream name, such as the YouTube Live stream name or the Facebook stream key.
-
Method Details
-
id
(OPTIONAL) Sets a unique ID for the stream.- Parameters:
id- The unique identifier for this RTMP stream as a string.- Returns:
- This builder.
-
streamName
(REQUIRED) Sets the stream name, such as the YouTube Live stream name or the Facebook stream key.- Parameters:
streamName- The name or key for this RTMP stream.- Returns:
- This builder.
-
serverUrl
(REQUIRED) The RTMP server URL.- Parameters:
serverUrl- The server URL as a string.- Returns:
- This builder.
-
build
Constructs a Rtmp instance with this builder's properties.- Returns:
- A new Rtmp object.
-