Skip to content

Commit 49cbef8

Browse files
committed
Use device-preference cookies in the new prebuilt UI like we did in the old one.
Control whether to use device-preference cookies through a new (though not yet documented) daily-js useDevicePreferenceCookies property. Initially I thought we might control whether to use device-preference cookies through the enable_new_call_ui domain/room property, but then realized it would preclude customers who are using the new prebuilt ui from trying out call object mode *without* that behavior. Furthermore, overloading enable_new_call_ui like this could result in developer confusion down the road.
1 parent 62a64ac commit 49cbef8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export interface DailyAdvancedConfig {
146146
h264Profile?: string;
147147
camSimulcastEncodings?: any[];
148148
screenSimulcastEncodings?: any[];
149+
useDevicePreferenceCookies?: boolean;
149150
}
150151

151152
export interface DailyTrackState {

0 commit comments

Comments
 (0)