Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | 1x 1x 1x 1x 1x 1x 1x 5x 5x 5x 5x 5x 5x 5x 5x 2x 1x 1x 1x 1x 1x | import { Injectable } from '@angular/core'; import { Session, PublisherProperties, OpenVidu, Publisher, Connection } from 'openvidu-browser'; impoIrt { Signal } from '../../models/signal.model'; @Injectable({ providedIn: 'root' }) export class WebrtcServiceMock { private OV: OpenVidu = null; private OVScreen: OpenVidu = null; private webcamSession: Session = null; private screenSession: Session = null; private videoSource = undefined; private audioSource = undefined; private screenMediaStream: MediaStream = null; private webcamMediaStream: MediaStream = null; constructor() {} initialize() {} initSessions() {} getWebcamSession(): Session { return null; } initializeWebcamSession(): void {} initializeScreenSession(): void {} getScreenSession(): Session { return null; } async connectWebcamSession(token: string): Promise<any> {} disconnectWebcamSession(): void {} async connectScreenSession(token: string): Promise<any> {} disconnectScreenSession(): void {} disconnect() {} initPublisher(targetElement: string | HTMLElement, properties: PublisherProperties): Publisher { return null; } initPublisherAsync(targetElement: string | HTMLElement, properties: PublisherProperties): Promise<Publisher> { return null; } destroyWebcamPublisher(): void {} destroyScreenPublisher(): void {} async publishWebcamPublisher(): Promise<any> {} unpublishWebcamPublisher(): void {} async publishScreenPublisher(): Promise<any> {} unpublishScreenPublisher(): void {} publishWebcamVideo(active: boolean): void {} publishWebcamAudio(active: boolean): void {} publishScreenAudio(active: boolean): void {} replaceTrack(videoSource: string, audioSource: string, mirror: boolean = true): Promise<any> { return new Promise((resolve, reject) => {}); } sendSignal(type: Signal, connection?: Connection, data?: any): void {} createPublisherProperties( videoSource: string | MediaStreamTrack | boolean, audioSource: string | MediaStreamTrack | boolean, publishVideo: boolean, publishAudio: boolean, mirror: boolean ): PublisherProperties { return {}; } async replaceScreenTrack() {} stopAudioTracks(mediaStream: MediaStream) {} stopVideoTracks(mediaStream: MediaStream) {} needSendNicknameSignal(): boolean { return false; } isMyOwnConnection(connectionId: string): boolean { return false; } getSessionOfUserConnected(): Session { return null; } private stopScreenTracks() {} } |