Skip to content

Commit

Permalink
Revert "Merge pull request #4166 from daily-co/ENG-3016-react-native-…
Browse files Browse the repository at this point in the history
…setBandwidth"

This reverts commit c32aadb, reversing
changes made to ccb3ae6bbcac6dcb3282a91ea379b318ebdea6df.
  • Loading branch information
kompfner committed Feb 15, 2022
1 parent 6d8e4e3 commit dfb1462
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,6 @@ export interface DailyAdvancedConfig {
experimentalGetUserMediaConstraintsModify?: (
constraints: MediaStreamConstraints
) => void;
getUserMediaConstraints?: {
audio?: boolean | MediaTrackConstraints;
video?: boolean | MediaTrackConstraints;
};
fastConnect?: boolean;
preferH264ForCam?: boolean;
preferH264ForScreenSharing?: boolean;
Expand Down
6 changes: 0 additions & 6 deletions src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,6 @@ const FRAME_PROPS = {
window._dailyConfig.experimentalGetUserMediaConstraintsModify =
config.experimentalGetUserMediaConstraintsModify;
delete config.experimentalGetUserMediaConstraintsModify;
window._dailyConfig.getUserMediaConstraints =
config.getUserMediaConstraints;
delete config.getUserMediaConstraints;
return true;
},
},
Expand Down Expand Up @@ -1431,9 +1428,6 @@ export default class DailyIframe extends EventEmitter {
} catch (e) {
reject(e);
}
} else {
// even if is already loaded, needs to validate the properties, so the dailyConfig properties can be inserted inside window._dailyConfig
this.validateProperties(properties);
}
this.sendMessageToCallMachine(
{
Expand Down

0 comments on commit dfb1462

Please sign in to comment.