You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connects audio streams to a specified websocket URI.
1810
-
For more information, see the `Audio Streamer developer guide <https://tokbox.com/developer/guides/audio-streamer/>`.
1809
+
Connects audio streams to a specified WebSocket URI.
1810
+
For more information, see the `Audio Connector developer guide <https://tokbox.com/developer/guides/audio-streamer/>`.
1811
1811
1812
-
:param String 'session_id': The OpenTok session ID that includes the OpenTok streams you want to include in the WebSocket stream. The Audio Streamer feature is only supported in routed sessions (sessions that use the OpenTok Media Router).
1813
-
:param String 'opentok_token': The OpenTok token to be used for the Audio Streamer connection to the OpenTok session.
1814
-
:param Dictionary 'websocket_options': Included options for the websocket.
1812
+
:param String 'session_id': The OpenTok session ID that includes the OpenTok streams you want to include in the WebSocket stream. The Audio Connector feature is only supported in routed sessions (sessions that use the OpenTok Media Router).
1813
+
:param String 'opentok_token': The OpenTok token to be used for the Audio Connector connection to the OpenTok session.
1814
+
:param Dictionary 'websocket_options': Included options for the WebSocket.
1815
1815
String 'uri': A publicly reachable WebSocket URI to be used for the destination of the audio stream (such as "wss://example.com/ws-endpoint").
1816
1816
List 'streams' Optional: A list of stream IDs for the OpenTok streams you want to include in the WebSocket audio. If you omit this property, all streams in the session will be included.
1817
1817
Dictionary 'headers' Optional: An object of key-value pairs of headers to be sent to your WebSocket server with each message, with a maximum length of 512 bytes.
0 commit comments