Group calling: tell RingRTC about our rendered resolutions for perf

This commit is contained in:
Evan Hahn 2020-12-01 19:52:01 -06:00 committed by GitHub
parent b30b83ed57
commit d1866a0e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 211 additions and 7 deletions

View file

@ -84,6 +84,13 @@ export interface GroupCallRemoteParticipantType {
videoAspectRatio: number;
}
// Similar to RingRTC's `VideoRequest` but without the `framerate` property.
export interface GroupCallVideoRequest {
demuxId: number;
width: number;
height: number;
}
// Should match RingRTC's VideoFrameSource
export interface VideoFrameSource {
receiveVideoFrame(buffer: ArrayBuffer): [number, number] | undefined;