Skip to main content
Version: 0.29.0

fishjam.peer

PeerMetadata​

class PeerMetadata:

Custom metadata set by the peer

Example:

  • {'name': 'FishjamUser'}

init​

def __init__()

Method generated by attrs for class PeerMetadata.

additional_properties​

additional_properties: dict[str, typing.Any]

to_dict​

def to_dict(self) -> dict[str, typing.Any]

from_dict​

def from_dict(cls: type[~T], src_dict: Mapping[str, typing.Any]) -> ~T

additional_keys​

additional_keys: list[str]

PeerStatus​

class PeerStatus(str, enum.Enum):

Informs about the peer status

CONNECTED​

CONNECTED = <PeerStatus.CONNECTED: 'connected'>

DISCONNECTED​

DISCONNECTED = <PeerStatus.DISCONNECTED: 'disconnected'>

Inherited Members​

  • Enum:
    • name
    • value

PeerType​

class PeerType(str, enum.Enum):

Peer type

AGENT​

AGENT = <PeerType.AGENT: 'agent'>

VAPI​

VAPI = <PeerType.VAPI: 'vapi'>

WEBRTC​

WEBRTC = <PeerType.WEBRTC: 'webrtc'>

Inherited Members​

  • Enum:
    • name
    • value