mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Group calling: tell RingRTC about our rendered resolutions for perf
This commit is contained in:
@@ -27,6 +27,7 @@ import {
|
||||
RingRTC,
|
||||
UserId,
|
||||
VideoFrameSource,
|
||||
VideoRequest,
|
||||
} from 'ringrtc';
|
||||
import { uniqBy, noop } from 'lodash';
|
||||
|
||||
@@ -526,6 +527,13 @@ export class CallingClass {
|
||||
return this.getDirectCall(conversationId)?.callId;
|
||||
}
|
||||
|
||||
public setGroupCallVideoRequest(
|
||||
conversationId: string,
|
||||
resolutions: Array<VideoRequest>
|
||||
): void {
|
||||
this.getGroupCall(conversationId)?.requestVideo(resolutions);
|
||||
}
|
||||
|
||||
// See the comment in types/Calling.ts to explain why we have to do this conversion.
|
||||
private convertRingRtcConnectionState(
|
||||
connectionState: ConnectionState
|
||||
|
||||
Reference in New Issue
Block a user