Skip to content

Commit

Permalink
fix: add a feature flag in pronto
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlaz committed Nov 19, 2024
1 parent d70744a commit f196409
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/client/src/helpers/__tests__/sdp-munging.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ a=rtcp-rsize`;
sdpFmtpLine: 'profile-id=0',
});
expect(target).toContain('VP9');
expect(target).toEqual(sdp);
expect(target).not.toContain('profile-id=2');
});
});
4 changes: 4 additions & 0 deletions sample-apps/react/react-dogfood/components/MeetingUI.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const MeetingUI = ({ chatClient, mode }: MeetingUIProps) => {
| PreferredCodec
| undefined;
const bitrateOverride = router.query['bitrate'] as string | undefined;
const forceSingleCodec = router.query['force_single_codec'] === 'true';
const bitrateFactorOverride = router.query['bitrate_factor'] as
| string
| undefined;
Expand All @@ -72,6 +73,7 @@ export const MeetingUI = ({ chatClient, mode }: MeetingUIProps) => {
call.updatePublishOptions({
preferredCodec: 'vp9',
forceCodec: videoCodecOverride,
forceSingleCodec,
scalabilityMode,
preferredBitrate,
bitrateDownscaleFactor: bitrateFactorOverride
Expand All @@ -94,6 +96,8 @@ export const MeetingUI = ({ chatClient, mode }: MeetingUIProps) => {
bitrateFactorOverride,
bitrateOverride,
call,
forceSingleCodec,
maxSimulcastLayers,
scalabilityMode,
videoCodecOverride,
],
Expand Down

0 comments on commit f196409

Please sign in to comment.