infobip-rtc
Version:
Infobip RTC JavaScript SDK - Infobip WebRTC API Implementation
14 lines • 571 B
JavaScript
export class DefaultLocalWebrtcCapturer {
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=DefaultLocalWebrtcCapturer.js.map