Group calling: tell RingRTC about our rendered resolutions for perf
This commit is contained in:
parent
b30b83ed57
commit
d1866a0e5d
16 changed files with 211 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue