test: Add 8 people voice tests
This commit is contained in:
@@ -492,6 +492,14 @@ export class WebRTCService implements OnDestroy {
|
||||
return this.peerMediaFacade.getRawMicStream();
|
||||
}
|
||||
|
||||
reportConnectionError(message: string): void {
|
||||
this.state.setConnectionError(message);
|
||||
}
|
||||
|
||||
clearConnectionError(): void {
|
||||
this.state.clearConnectionError();
|
||||
}
|
||||
|
||||
/**
|
||||
* Request microphone access and start sending audio to all peers.
|
||||
*
|
||||
|
||||
@@ -120,6 +120,16 @@ export class WebRtcStateController {
|
||||
this._isNoiseReductionEnabled.set(enabled);
|
||||
}
|
||||
|
||||
setConnectionError(message: string | null): void {
|
||||
this._hasConnectionError.set(!!message);
|
||||
this._connectionErrorMessage.set(message);
|
||||
}
|
||||
|
||||
clearConnectionError(): void {
|
||||
this._hasConnectionError.set(false);
|
||||
this._connectionErrorMessage.set(null);
|
||||
}
|
||||
|
||||
setConnectedPeers(peers: string[]): void {
|
||||
this._connectedPeers.set(peers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user