-2
web rtcを使用すると、ビデオパネルの幅と高さがgetmediaelement.js
ファイルで計算されるので、どのように変更できますか?両方のビデオパネル、つまり送信者と受信者の高さが変わりますか?WEB RTCビデオ会議
私は受信機の高さを上げたいが、送信機の高さを低くしたい。
どうすればいいですか?
var b = document.createElement("div");
b.className = "media-box";
i.appendChild(b);
b.appendChild(e);
if (!t.width) t.width = innerWidth/2 - 50;
i.style.width = t.width + "px";
if (t.height) {
b.style.height = t.height + "px"
}
もっとコードを教えてください。たとえば、ページテンプレート? – Romain