You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please mention other relevant information such as the browser version, Operating System and Device Name
Only reproduced on Poco F5 using Firefox, I realise this makes it hard to debug. I'm happy to do it myself if someone can point me to the relevant files, I've tried going through the source code myself and couldn't find anything in use which is related to the camera feed orientation. I did fix a bug in gps-camera.js though if you want that:
if (!onError) {
const that = this
onError = function (err) {
console.warn("ERROR(" + err.code + "): " + err.message);
if (err.code === 1) {
// User denied GeoLocation, let their know that
that.el.sceneEl.systems["arjs"]._displayErrorPopup(
"Please activate Geolocation and refresh the page. If it is already active, please check permissions for this website."
);
return;
}
if (err.code === 3) {
that.el.sceneEl.systems["arjs"]._displayErrorPopup(
"Cannot retrieve GPS position. Signal is absent."
);
return;
}
};
}
Previously this was undefined due to the inline function missing the context, so I replaced this usage with that.
What is the expected behavior?
The camera orientation should remain correct (relative to real world) regardless of device orientation.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Portrait orientation has correct camera feed orientation

Landscape orientation has camera feed rotated 90 degrees

If the current behavior is a bug, please provide the steps to reproduce.
Please mention other relevant information such as the browser version, Operating System and Device Name
Only reproduced on Poco F5 using Firefox, I realise this makes it hard to debug. I'm happy to do it myself if someone can point me to the relevant files, I've tried going through the source code myself and couldn't find anything in use which is related to the camera feed orientation. I did fix a bug in
gps-camera.js
though if you want that:Previously
this
was undefined due to the inline function missing the context, so I replacedthis
usage withthat
.What is the expected behavior?
The camera orientation should remain correct (relative to real world) regardless of device orientation.
The text was updated successfully, but these errors were encountered: