Package com.opentok
Class AudioConnectorProperties
java.lang.Object
com.opentok.AudioConnectorProperties
Defines values for the
properties
parameter of the
OpenTok.connectAudioStream(String, String, AudioConnectorProperties)
method.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Intermediary stateful object used to constructAudioConnectorProperties
. -
Method Summary
Modifier and TypeMethodDescriptionheaders()
Additional headers to include in the request body.streams()
(OPTIONAL) A collection of stream IDs for the OpenTok streams included in the WebSocket audio.type()
Returns the name of the JSON object for the connection request body.uri()
The WebSocket URI to be used for the destination of the audio stream.
-
Method Details
-
uri
The WebSocket URI to be used for the destination of the audio stream.- Returns:
- A valid, non-null URI.
-
streams
(OPTIONAL) A collection of stream IDs for the OpenTok streams included in the WebSocket audio. If this collection is empty, all streams in the session will be included.- Returns:
- An immutable collection of stream IDs, if present.
-
headers
Additional headers to include in the request body. NOTE: The maximum length is 512 bytes.- Returns:
- An immutable map of additional properties, if present.
-
type
Returns the name of the JSON object for the connection request body.- Returns:
- "websocket".
-