Using the following configuration, somehow width and height are inverted on mobile and correct on desktop.
The inputstream is supposed to be shown in portrait instead of landscape.
Would anyone have any ideas please?
state: {
inputStream: {
type : "LiveStream",
constraints: {
facingMode: "environment",
// aspectRatio: { exact: ( 4 / 3 ) },
width: { exact: 360 },
height: { exact: 480 }
}
}
}