Hello,
we noticed that when on mobile when going from portrait video to landscape, the resolution of the video changed to the default '640x480'
. Is replaceTrack()
used in the background?
I was wondering if there is an easy way to modify the PublisherProperties
default values? Something similar to setAdvancedConfiguration
?
No replacetrack on the background. But the resolution IS changed when orientation changes (and when a shared screen is resized). The problem would be if it wouldnβt change. Besides, an event streamPropertyChanged will be fired.
"I was wondering if there is an easy way to modify the PublisherProperties
default values? Something similar to setAdvancedConfiguration
"
I donβt understand this question. Yes, the way of modifying the default values of PublisherProperties is passing the values you want as PublihserProperties.
Thanks. I suspected some default resolution was in play when the properties changed, since it used 640x480 going to landscape. The real question is if we can cap the resolution to what is passed with the initially passed publisher properties.
As an example. β320x240β is passed as resolution for initial publisher. β240x320β is the resolution of the portrait video. Going to landscape, the desired resolution is β320x240β. In our case the resolution is automatically bumped up to β480x360β and β640x480β (flipped returning to portrait).
It seems a bug. We will take a look.