doc comment
This commit is contained in:
parent
4eee1ba261
commit
cc5d2abe18
|
@ -148,6 +148,8 @@ func setDataChannelOnOpen(
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hooks the datachannel's Close to Close the owning PeerConnection. The datachannel takes ownership
|
||||||
|
// and responsibility for the PeerConnection.
|
||||||
func hookDataChannelCloser(dcrwc datachannel.ReadWriteCloser, pc *wrappedPeerConnection) datachannel.ReadWriteCloser {
|
func hookDataChannelCloser(dcrwc datachannel.ReadWriteCloser, pc *wrappedPeerConnection) datachannel.ReadWriteCloser {
|
||||||
return struct {
|
return struct {
|
||||||
datachannelReadWriter
|
datachannelReadWriter
|
||||||
|
|
Loading…
Reference in New Issue