SYMBOL INDEX (189 symbols across 28 files) FILE: __test__/faker.ts method constructor (line 9) | constructor(tracks?: MediaStreamTrack[]) { method getTracks (line 15) | getTracks(): MediaStreamTrack[] { method addTrack (line 19) | addTrack(track: MediaStreamTrack) { method constructor (line 29) | constructor() { method close (line 36) | close() {} method addTrack (line 38) | addTrack(track: MediaStreamTrack, ..._stream: MediaStream[]): RTCRtpSend... method getSenders (line 49) | getSenders(): RTCRtpSender[] { method replaceTrack (line 59) | replaceTrack(withTrack: MediaStreamTrack | null): Promise { FILE: e2e/datachannel/serialization.page.ts class SerializationPage (line 5) | class SerializationPage { method sendBtn (line 6) | get sendBtn() { method checkBtn (line 10) | get checkBtn() { method connectBtn (line 13) | get connectBtn() { method receiverId (line 17) | get receiverId() { method messages (line 21) | get messages() { method errorMessage (line 25) | get errorMessage() { method result (line 29) | get result() { method waitForMessage (line 33) | waitForMessage(right: string) { method open (line 43) | async open(testFile: string, serialization: string) { method init (line 56) | async init() { FILE: e2e/mediachannel/close.page.ts class SerializationPage (line 5) | class SerializationPage { method receiverId (line 6) | get receiverId() { method callBtn (line 9) | get callBtn() { method messages (line 13) | get messages() { method closeBtn (line 17) | get closeBtn() { method errorMessage (line 21) | get errorMessage() { method result (line 25) | get result() { method waitForMessage (line 29) | waitForMessage(right: string) { method open (line 39) | async open() { method init (line 48) | async init() { FILE: e2e/peer/peer.page.ts class PeerPage (line 5) | class PeerPage { method messages (line 6) | get messages() { method errorMessage (line 10) | get errorMessage() { method waitForMessage (line 14) | waitForMessage(right: string) { method open (line 24) | async open(test: string) { FILE: e2e/types.d.ts type Window (line 7) | interface Window { FILE: lib/api.ts class API (line 6) | class API { method constructor (line 7) | constructor(private readonly _options: PeerJSOption) {} method _buildRequest (line 9) | private _buildRequest(method: string): Promise { method retrieveId (line 22) | async retrieveId(): Promise { method listAllPeers (line 51) | async listAllPeers(): Promise { FILE: lib/baseconnection.ts type BaseConnectionEvents (line 12) | interface BaseConnectionEvents< method open (line 62) | get open() { method constructor (line 66) | protected constructor( FILE: lib/dataconnection/BufferedConnection/BinaryPack.ts class BinaryPack (line 8) | class BinaryPack extends BufferedConnection { method close (line 20) | public override close(options?: { flush?: boolean }) { method constructor (line 25) | constructor(peerId: string, provider: Peer, options: any) { method _handleDataMessage (line 30) | protected override _handleDataMessage({ data }: { data: Uint8Array }):... method _handleChunk (line 50) | private _handleChunk(data: { method _send (line 78) | protected override _send(data: Packable, chunked: boolean) { method _send_blob (line 91) | private async _send_blob(blobPromise: Promise) { method _sendChunks (line 101) | private _sendChunks(blob: ArrayBuffer) { FILE: lib/dataconnection/BufferedConnection/BufferedConnection.ts method bufferSize (line 9) | public get bufferSize(): number { method _initializeDataChannel (line 13) | public override _initializeDataChannel(dc: RTCDataChannel) { method _bufferedSend (line 23) | protected _bufferedSend(msg: ArrayBuffer): void { method _trySend (line 31) | private _trySend(msg: ArrayBuffer): boolean { method _tryBuffer (line 61) | private _tryBuffer(): void { method close (line 79) | public override close(options?: { flush?: boolean }) { FILE: lib/dataconnection/BufferedConnection/Json.ts class Json (line 5) | class Json extends BufferedConnection { method _handleDataMessage (line 14) | protected override _handleDataMessage({ data }: { data: Uint8Array }):... method _send (line 27) | override _send(data, _chunked) { FILE: lib/dataconnection/BufferedConnection/Raw.ts class Raw (line 4) | class Raw extends BufferedConnection { method _handleDataMessage (line 7) | protected _handleDataMessage({ data }) { method _send (line 11) | override _send(data, _chunked) { FILE: lib/dataconnection/BufferedConnection/binaryPackChunker.ts class BinaryPackChunker (line 1) | class BinaryPackChunker { function concatArrayBuffers (line 41) | function concatArrayBuffers(bufs: Uint8Array[]) { FILE: lib/dataconnection/DataConnection.ts type DataConnectionEvents (line 15) | interface DataConnectionEvents method type (line 42) | public get type() { method constructor (line 46) | constructor(peerId: string, provider: Peer, options: any) { method _initializeDataChannel (line 66) | override _initializeDataChannel(dc: RTCDataChannel): void { method close (line 91) | close(options?: { flush?: boolean }): void { method send (line 130) | public send(data: any, chunked = false) { method handleMessage (line 141) | async handleMessage(message: ServerMessage) { FILE: lib/dataconnection/StreamConnection/MsgPack.ts class MsgPack (line 5) | class MsgPack extends StreamConnection { method constructor (line 9) | constructor(peerId: string, provider: Peer, options: any) { method _send (line 24) | protected override _send(data) { FILE: lib/dataconnection/StreamConnection/StreamConnection.ts method constructor (line 49) | protected constructor(peerId: string, provider: Peer, options: any) { method _initializeDataChannel (line 55) | public override _initializeDataChannel(dc) { FILE: lib/encodingQueue.ts class EncodingQueue (line 4) | class EncodingQueue extends EventEmitter { method constructor (line 10) | constructor() { method queue (line 31) | get queue(): Blob[] { method size (line 35) | get size(): number { method processing (line 39) | get processing(): boolean { method enque (line 43) | enque(blob: Blob): void { method destroy (line 51) | destroy(): void { method doNextTask (line 56) | private doNextTask(): void { FILE: lib/enums.ts type ConnectionType (line 1) | enum ConnectionType { type PeerErrorType (line 6) | enum PeerErrorType { type BaseConnectionErrorType (line 63) | enum BaseConnectionErrorType { type DataConnectionErrorType (line 68) | enum DataConnectionErrorType { type SerializationType (line 73) | enum SerializationType { type SocketEventType (line 80) | enum SocketEventType { type ServerMessageType (line 87) | enum ServerMessageType { FILE: lib/logger.ts constant LOG_PREFIX (line 1) | const LOG_PREFIX = "PeerJS: "; type LogLevel (line 10) | enum LogLevel { class Logger (line 29) | class Logger { method logLevel (line 32) | get logLevel(): LogLevel { method logLevel (line 36) | set logLevel(logLevel: LogLevel) { method log (line 40) | log(...args: any[]) { method warn (line 46) | warn(...args: any[]) { method error (line 52) | error(...args: any[]) { method setLogFunction (line 58) | setLogFunction(fn: (logLevel: LogLevel, ..._: any[]) => void): void { method _print (line 62) | private _print(logLevel: LogLevel, ...rest: any[]): void { FILE: lib/mediaconnection.ts type MediaConnectionEvents (line 10) | interface MediaConnectionEvents extends BaseConnectionEvents { class MediaConnection (line 31) | class MediaConnection extends BaseConnection { method type (line 42) | get type() { method localStream (line 46) | get localStream(): MediaStream { method remoteStream (line 50) | get remoteStream(): MediaStream { method constructor (line 54) | constructor(peerId: string, provider: Peer, options: any) { method _initializeDataChannel (line 73) | override _initializeDataChannel(dc: RTCDataChannel): void { method addStream (line 86) | addStream(remoteStream) { method handleMessage (line 96) | handleMessage(message: ServerMessage): void { method answer (line 125) | answer(stream?: MediaStream, options: AnswerOption = {}): void { method close (line 160) | close(): void { FILE: lib/msgPackPeer.ts class MsgPackPeer (line 7) | class MsgPackPeer extends Peer { FILE: lib/negotiator.ts class Negotiator (line 16) | class Negotiator< method constructor (line 20) | constructor(readonly connection: ConnectionType) {} method startConnection (line 23) | startConnection(options: any) { method _startPeerConnection (line 52) | private _startPeerConnection(): RTCPeerConnection { method _setupListeners (line 65) | private _setupListeners(peerConnection: RTCPeerConnection) { method cleanup (line 161) | cleanup(): void { method _makeOffer (line 194) | private async _makeOffer(): Promise { method _makeAnswer (line 261) | private async _makeAnswer(): Promise { method handleSDP (line 306) | async handleSDP(type: string, sdp: any): Promise { method handleCandidate (line 328) | async handleCandidate(ice: RTCIceCandidate) { method _addTracksToConnection (line 340) | private _addTracksToConnection( method _addStreamToMediaConnection (line 357) | private _addStreamToMediaConnection( FILE: lib/optionInterfaces.ts type AnswerOption (line 1) | interface AnswerOption { type PeerJSOption (line 8) | interface PeerJSOption { type PeerConnectOption (line 20) | interface PeerConnectOption { type CallOption (line 39) | interface CallOption { FILE: lib/peer.ts class PeerOptions (line 25) | class PeerOptions implements PeerJSOption { type SerializerMapping (line 72) | interface SerializerMapping { type PeerEvents (line 80) | interface PeerEvents { class Peer (line 113) | class Peer extends EventEmitterWithError { method id (line 146) | get id() { method options (line 150) | get options() { method open (line 154) | get open() { method socket (line 161) | get socket() { method connections (line 170) | get connections(): Object { method destroyed (line 183) | get destroyed() { method disconnected (line 189) | get disconnected() { method constructor (line 213) | constructor(id?: string | PeerOptions, options?: PeerOptions) { method _createServerConnection (line 301) | private _createServerConnection(): Socket { method _initialize (line 343) | private _initialize(id: string): void { method _handleMessage (line 349) | private _handleMessage(message: ServerMessage): void { method _storeMessage (line 461) | private _storeMessage(connectionId: string, message: ServerMessage): v... method _getMessages (line 474) | public _getMessages(connectionId: string): ServerMessage[] { method connect (line 490) | connect(peer: string, options: PeerConnectOption = {}): DataConnection { method call (line 524) | call( method _addConnection (line 558) | private _addConnection( method _removeConnection (line 573) | _removeConnection(connection: DataConnection | MediaConnection): void { method getConnection (line 589) | getConnection( method _delayedAbort (line 607) | private _delayedAbort(type: PeerErrorType, message: string | Error): v... method _abort (line 618) | private _abort(type: PeerErrorType, message: string | Error): void { method destroy (line 640) | destroy(): void { method _cleanup (line 656) | private _cleanup(): void { method _cleanupPeer (line 666) | private _cleanupPeer(peerId: string): void { method disconnect (line 682) | disconnect(): void { method reconnect (line 709) | reconnect(): void { method listAllPeers (line 738) | listAllPeers(cb = (_: any[]) => {}): void { FILE: lib/peerError.ts type EventsWithError (line 4) | interface EventsWithError { class EventEmitterWithError (line 8) | class EventEmitterWithError< method emitError (line 17) | emitError(type: ErrorType, err: string | Error): void { class PeerError (line 28) | class PeerError extends Error { method constructor (line 32) | constructor(type: T, err: Error | string) { FILE: lib/servermessage.ts class ServerMessage (line 3) | class ServerMessage { FILE: lib/socket.ts class Socket (line 10) | class Socket extends EventEmitter { method constructor (line 18) | constructor( method start (line 33) | start(id: string, token: string): void { method _scheduleHeartbeat (line 87) | private _scheduleHeartbeat(): void { method _sendHeartbeat (line 93) | private _sendHeartbeat(): void { method _wsOpen (line 107) | private _wsOpen(): boolean { method _sendQueuedMessages (line 112) | private _sendQueuedMessages(): void { method send (line 124) | send(data: any): void { method close (line 150) | close(): void { method _cleanup (line 160) | private _cleanup(): void { FILE: lib/supports.ts method isWebRTCSupported (line 18) | isWebRTCSupported(): boolean { method isBrowserSupported (line 22) | isBrowserSupported(): boolean { method getBrowser (line 38) | getBrowser(): string { method getVersion (line 42) | getVersion(): number { method isUnifiedPlanSupported (line 46) | isUnifiedPlanSupported(): boolean { method toString (line 75) | toString(): string { FILE: lib/util.ts type UtilSupportsObj (line 7) | interface UtilSupportsObj { constant DEFAULT_CONFIG (line 38) | const DEFAULT_CONFIG = { class Util (line 53) | class Util extends BinaryPackChunker { method noop (line 54) | noop(): void {} method blobToArrayBuffer (line 129) | blobToArrayBuffer( method binaryStringToArrayBuffer (line 146) | binaryStringToArrayBuffer(binary: string): ArrayBuffer | SharedArrayBu... method isSecure (line 155) | isSecure(): boolean {