Stretch video, video sdk 1.10.0, safari iphone

Description
Display video canvas is stretched.

Which Web Video SDK version?
1.11.0

Video SDK Code Snippets
according to my guess:

class dA extends HTMLElement {
static get observedAttributes() {
return [aA, uA];
}
constructor() {
super(),
(this.canvasId = “video-player-canvas-” + jI()),
(this.needInitCanvas = !1),
(this.callback = null),
LI(this, dA.customAttributes);
const e = this.attachShadow({ mode: “open” }),
t = document.createElement(“slot”);
(this.appendCanvas = (o) => {
e.insertBefore(o, t);
}),
e.appendChild(t);
}

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Join meeting room with safari on Iphone version 15.8.2

Device (please complete the following information):

  • Device: iphone7
  • IOS version: 15.8.2
  • Browser: Safari

Additional context

  • when I update SDK from 1.10.0 to 1.11.0, i faced this issue.
  • I debug on safari, when version of ios is 15.8.2, browser will display video by Canvas but with version 16.7.2 displaying video by video element so that dont get issue on 16.7.2.

Hey @dunt

Thanks for your feedback.

We have identified the issue and will release a fix shortly. Please stay tuned.

A workaround for this is to add the originalRatio: true option when calling the stream.startVideo method.

Thanks
Vic

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.