Package com.opentok

Class AudioConnectorProperties

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String> headers()
      Additional headers to include in the request body.
      java.util.Collection<java.lang.String> streams()
      (OPTIONAL) A collection of stream IDs for the OpenTok streams included in the WebSocket audio.
      java.lang.String type()
      Returns the name of the JSON object for the connection request body.
      java.net.URI uri()
      The WebSocket URI to be used for the destination of the audio stream.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • uri

        public java.net.URI uri()
        The WebSocket URI to be used for the destination of the audio stream.
        Returns:
        A valid, non-null URI.
      • streams

        public java.util.Collection<java.lang.String> 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

        public java.util.Map<java.lang.String,​java.lang.String> 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

        public java.lang.String type()
        Returns the name of the JSON object for the connection request body.
        Returns:
        "websocket".