openvidu-browser: Stream#getRTCPeerConnection TypeDoc description

pull/375/head
pabloFuente 2019-09-11 11:16:18 +02:00
parent 64f18d0b68
commit 6e19337260
1 changed files with 5 additions and 0 deletions

View File

@ -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 {
return this.webRtcPeer.pc;
}