mirror of
https://github.com/pion/webrtc.git
synced 2025-10-06 07:37:10 +08:00
35 lines
951 B
HTML
35 lines
951 B
HTML
<!--
|
|
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
|
SPDX-License-Identifier: MIT
|
|
-->
|
|
Browser base64 Session Description<br />
|
|
<textarea id="localSessionDescription" readonly="true"></textarea> <br />
|
|
<button onclick="window.copySDP()">
|
|
Copy browser SDP to clipboard
|
|
</button>
|
|
<br />
|
|
<br />
|
|
|
|
Golang base64 Session Description<br />
|
|
<textarea id="remoteSessionDescription"></textarea> <br/>
|
|
<button onclick="window.startSession()"> Start Session </button><br />
|
|
|
|
<br />
|
|
|
|
<div style="display: flex">
|
|
<div>
|
|
Browser stream 1<br />
|
|
<canvas id="canvasOne" height="200" width="200"></canvas>
|
|
</div>
|
|
<div>
|
|
Browser stream 2<br />
|
|
<canvas id="canvasTwo" height="200" width="200"></canvas>
|
|
</div>
|
|
<div>
|
|
Browser stream 3<br />
|
|
<canvas id="canvasThree" height="200" width="200"></canvas>
|
|
</div>
|
|
</div>
|
|
|
|
Video from server<br />
|
|
<video id="serverVideo" width="200" height="200" autoplay muted></video> <br /> |