mirror of
https://github.com/pion/webrtc.git
synced 2025-09-27 03:25:58 +08:00
31 lines
913 B
HTML
31 lines
913 B
HTML
<!--
|
|
SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
|
SPDX-License-Identifier: MIT
|
|
-->
|
|
<div id="signalingContainer" style="display: none">
|
|
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 />
|
|
</div>
|
|
|
|
<br />
|
|
|
|
Video<br />
|
|
<video id="video1" width="160" height="120" autoplay muted></video> <br />
|
|
|
|
<button class="createSessionButton" onclick="window.createSession(true)"> Publish a Broadcast </button>
|
|
<button class="createSessionButton" onclick="window.createSession(false)"> Join a Broadcast </button><br />
|
|
|
|
<br />
|
|
|
|
Logs<br />
|
|
<div id="logs"></div>
|