mirror of https://github.com/OpenVidu/openvidu.git
openvidu-browser: Stream#getRTCPeerConnection TypeDoc description
parent
64f18d0b68
commit
6e19337260
|
@ -355,6 +355,11 @@ export class Stream implements EventDispatcher {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the internal RTCPeerConnection object associated to this stream (https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection)
|
||||||
|
*
|
||||||
|
* @returns Native RTCPeerConnection Web API object
|
||||||
|
*/
|
||||||
getRTCPeerConnection(): RTCPeerConnection {
|
getRTCPeerConnection(): RTCPeerConnection {
|
||||||
return this.webRtcPeer.pc;
|
return this.webRtcPeer.pc;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue