Type Alias Callbacks

Callbacks: {
    datachannel: (event: DataChannelEvent) => void;
    disconnect: (event: SoraCloseEvent) => void;
    log: (title: string, message: JSONType) => void;
    message: (event: DataChannelMessageEvent) => void;
    notify: (
        event: SignalingNotifyMessage,
        transportType: TransportType,
    ) => void;
    push: (event: SignalingPushMessage, transportType: TransportType) => void;
    removetrack: (event: MediaStreamTrackEvent) => void;
    signaling: (event: SignalingEvent) => void;
    timeline: (event: TimelineEvent) => void;
    timeout: () => void;
    track: (event: RTCTrackEvent) => void;
}