HomeGuidesAPI Reference
HubBlogChangelogSupport ForumLog In
API Reference

Web SDK - RTCTransport\_2

Home > @rainway/web > RTCTransport_2

RTCTransport_2 class

A WebRTC-based transport implementation.

Signature:

export declare class RTCTransport extends Transport 

Extends: Transport

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the RTCTransport class.

Properties

PropertyModifiersTypeDescription
handlePeerInfo(peerInfo: IPeerSignalingInformation) => void
maxMessageSizenumber
onApplicationMessage(channel: string, data: Uint8Array) => void
onClose() => void
onRainwayMessage(data: IRainwayMessage) => void
statusTransportStatus

Methods