infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
14 lines • 573 B
JavaScript
export class DefaultServerWebrtcCapturer {
constructor(capturer, currentUserIdentity, counterpartIdentity) {
this.capturer = capturer;
this.currentUserIdentity = currentUserIdentity;
this.counterpartIdentity = counterpartIdentity;
}
takeLocalScreenshot(videoType) {
return this.capturer.takeScreenshot(this.currentUserIdentity, videoType);
}
takeRemoteScreenshot(videoType) {
return this.capturer.takeScreenshot(this.counterpartIdentity, videoType);
}
}
//# sourceMappingURL=DefaultServerWebrtcCapturer.js.map