mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 23:26:58 +08:00

copySessionDescription adds a button to all examples that copies the local Session Description. This makes it easier for users to copy the values. Resolves #2092
20 lines
506 B
HTML
20 lines
506 B
HTML
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 />
|
|
|
|
Video<br />
|
|
<video id="video1" width="160" height="120" autoplay muted></video> <br />
|
|
|
|
Logs<br />
|
|
<div id="logs"></div>
|