MCPcopy Create free account
hub / github.com/ShouChenICU/FastSend / initializeDataChannel

Method initializeDataChannel

app/utils/PeerDataChannel.ts:72–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 private initializeDataChannel(): void {
73 this.dc = this.pc.createDataChannel('dc')
74 this.setupDataChannel()
75 }
76
77 private setupDataChannel(): void {
78 if (!this.dc) return

Callers 1

constructorMethod · 0.95

Calls 1

setupDataChannelMethod · 0.95

Tested by

no test coverage detected