diff --git a/modules/RTC/JitsiLocalTrack.js b/modules/RTC/JitsiLocalTrack.js index 446b91a883..25ee6a629e 100644 --- a/modules/RTC/JitsiLocalTrack.js +++ b/modules/RTC/JitsiLocalTrack.js @@ -112,8 +112,8 @@ export default class JitsiLocalTrack extends JitsiTrack { // Safari returns an empty constraints object, construct the constraints using getSettings. if (!Object.keys(this._constraints).length && videoType === VideoType.CAMERA) { this._constraints = { - height: track.getHeight(), - width: track.getWidth() + height: track.getSettings().getHeight(), + width: track.getSettings().getWidth() }; }