We are observing an issue when using the (latest) WebRTC example whereby the Remote video display shrinks by about 30% every 6-10 seconds, towards the bottom left corner of the canvas (as if the upper right-hand corner is being dragged towards the bottom left to shrink the video); the canvas size remains unchanged;the displayed video also shows a 1 pixel orange line around the top and right edge when this happens, and we see a single "fuzzy white noise" frame just before the resize occurs. This continues to repeat: the image gets smaller and smaller, towards the bottom left. If we stop it, then restart the connection, the projected images is larger than the canvas, and offset to the right (the opposite of the shrinkage), but then shrinks in a similar pattern (about 30%, towards the bottom left, every 6-10s). We have commented outage only code in the loop that might explain the resizing and suspect this might be an SDK bug? We have also reproduced this with the generic WebRTC example.
On a related note: we are observing two other odd video sizing issues, please let me know if separate tickets should be opened but it seems they may be related:
The scalar size of the outer canvas seems to impact the size of an overlayed video, which was not previously the case with Lumin (ML1), or android: previously, we would scale a canvas to match the relative size of the video (e.g., 16:9), in order to get a 16:9 display, but now we must scale the same container 1:1 and let the video force the resize according to it's raw dimensions. Is this a known change and do yo have many more detail on this you can share, please?
When working with a video projected onto a sphere (clamped, intended for skyscape), the larger we make the sphere, the more distorted its shape becomes: if the sphere is 100x100x100u for example, it projects like it's dimensions are 1x100x100 (a giant, flat disc with a small <.5u gap in the middle). This is also evident with a smaller sphere (like 2x2x2), but less distortion is evident; it appears the distortion is proportional to the scale in some way. This also feels like an SKD or native player bug (?); we have this working without issues on Lumin (ML1), and other android releases. I will open a separate ticket for this issue, specifically; just mentioning it here in case it is related. Thank you for your help!!
Unity Editor version: 2022.2.0a14.2006
ML2 OS version: ML2 OS Release B3E.220619.07-R.124 (user)
MLSDK version: 0.53.1
Error messages from logs (syntax-highlighting is supported via Markdown): N/A