GifproGifpro

WebRTC P2P Video Chat in Pure HTML/JS — AI Prompt Example

CODE PREVIEW

P

Prompt

Create a WebRTC P2P video call demo using plain HTML/CSS/JS. Include two video elements (local/remote), a simple signaling server simulation via copy-paste offer/answer, and a start call button. Use minimal styling.

WebRTCで2つのブラウザを直接接続。ルーム作成→オファーコピー→ペーストして参加。テキストエリアでシグナリング。

Prompt Overview

Connect two browsers directly via WebRTC. Create a room → copy the offer → paste it to join. Use the text area for signaling.

Was this prompt helpful?

Comments

Comments appear after moderation

Homeヘルプ