Hello.
First of all, thank you for digital ptz for webRTC component.
I found that your code conficts with css video rotation in webRTC component.
AlexxIT webRTC component has ability to rotate 90 deg video using css command:
style: 'video {transform: rotate(90deg); aspect-ratio: 1}'
If digital ptz enabled, rotation of video doesn't work anymore.
But if I disable digital ptz using:
digital_ptz: false
everything works good.
Maybe you can add an option in config that would swap videoWidth and videoHeight in your script?
Or there is another way to fix that problem.
Thank you
P.S. I've opened issue here because you are developer of that functionality and also have repo for that controller. I can open same issue in AlexxIT repo, if that would be better.
Hello.
First of all, thank you for digital ptz for webRTC component.
I found that your code conficts with css video rotation in webRTC component.
AlexxIT webRTC component has ability to rotate 90 deg video using css command:
style: 'video {transform: rotate(90deg); aspect-ratio: 1}'If digital ptz enabled, rotation of video doesn't work anymore.
But if I disable digital ptz using:
digital_ptz: falseeverything works good.
Maybe you can add an option in config that would swap videoWidth and videoHeight in your script?
Or there is another way to fix that problem.
Thank you
P.S. I've opened issue here because you are developer of that functionality and also have repo for that controller. I can open same issue in AlexxIT repo, if that would be better.