AIGPAIGP

Connect Instantly! Build a WebRTC P2P Video Chat App

P

Prompt

Create a simple P2P video chat application using WebRTC, including local and remote video streams, with a room join UI and signaling simulation (using a simple textarea for exchange).

CODE PREVIEW

エディタを読み込み中…

AIとの対話に追加する一言

プロンプトと一緒にコピーして、AIがより正確に意図を汲み取れるようにします

このコードをそのまま使いたいので、CDNリンクも含めた完全なHTMLファイルとして出力してください。

初心者なので、各行にコメントを追加して、何をしているか説明してください。

このコードをWordPressのテーマに組み込む方法も教えてください。

動作確認済みのコードをお願いします。エラーが出る場合の対処法も含めて。

このデモは最小限のWebRTC P2Pビデオ通話です。Offerを作成し、SDPをコピーして別タブに貼り付けてAnswerすると接続が確立します。

Prompt Overview

This demo demonstrates a minimal WebRTC peer-to-peer video chat. You can create an offer, copy the SDP, paste it into another tab to answer, and establish a connection.

Was this prompt helpful?

Comments

Comments appear after moderation

この記事が役に立ったら投げ銭で応援

Apple Pay / Google Pay / カード (Visa/Mastercard/JCB/Amex) / Link / Alipay / WeChat Pay 対応 · Stripeで安全に決済

開発者が選ぶ最強ツール集

運営者が毎日使っているツール・ガジェット 6選

見る
Homeヘルプ