Skip to content

Commit

Permalink
fix: props
Browse files Browse the repository at this point in the history
  • Loading branch information
KaustubhKumar05 committed May 17, 2024
1 parent 271498b commit 054fe8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hms-video-store/src/utils/ice-server-config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HMSICEServer } from '../interfaces';

export const transformIceServerConfig = (defaultConfig: RTCIceServer[], iceServers?: HMSICEServer[]) => {
export const transformIceServerConfig = (defaultConfig?: RTCIceServer[], iceServers?: HMSICEServer[]) => {
if (!iceServers || iceServers.length === 0) {
return defaultConfig;
}
Expand Down

0 comments on commit 054fe8c

Please sign in to comment.