Package 

Enum ClientProtocolVersion

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum ClientProtocolVersion
    extends Enum<ClientProtocolVersion>
                        

    The protocol version this SDK advertises to peers (other participants) for client-to-client feature negotiation (RPC v2, etc.). Distinct from ProtocolVersion, which tracks the signaling protocol between client and server.

    Sent to the server during the join handshake via the client_protocol connection query parameter and ClientInfo.client_protocol; the server then populates ParticipantInfo.client_protocol for other peers in the room to read.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DATA_STREAM_RPC

      RPC v2: request and success-response payloads are carried over text data streams instead of inline packets, lifting the 15 KB payload limit.

      DEFAULT

      Initial client protocol. RPC v1 only (15 KB packet payload limit).

    • Method Summary

      Modifier and Type Method Description
      final Integer getValue()
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait