Group Calls: Fix sdp (#4130)

This commit is contained in:
Alexander Zinchuk 2023-12-23 22:15:34 +01:00
parent cc1fb8d1cd
commit 2d72f93989
3 changed files with 2 additions and 4 deletions

View File

@ -47,7 +47,7 @@ export interface P2PPayloadType {
} }
type P2pSsrcGroup = { type P2pSsrcGroup = {
semantics: string; semantics?: string;
ssrcs: number[]; ssrcs: number[];
}; };

View File

@ -472,7 +472,6 @@ export async function handleUpdateGroupCallParticipants(updatedParticipants: Gro
endpoint: `audio${participant.source}`, endpoint: `audio${participant.source}`,
isVideo: false, isVideo: false,
sourceGroups: [{ sourceGroups: [{
semantics: 'FID',
sources: [participant.source], sources: [participant.source],
}], }],
mid: state!.lastMid.toString() mid: state!.lastMid.toString()
@ -757,7 +756,6 @@ function initializeConnection(
userId: '', userId: '',
sourceGroups: [ sourceGroups: [
{ {
semantics: 'FID',
sources: [sdp.ssrc || 0], sources: [sdp.ssrc || 0],
}, },
], ],

View File

@ -43,7 +43,7 @@ export type Fingerprint = {
}; };
export type SsrcGroup = { export type SsrcGroup = {
semantics: string; semantics?: string;
sources: number[]; sources: number[];
}; };