diff options
author | MDN <actions@users.noreply.github.com> | 2021-06-18 00:34:28 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-06-18 00:34:28 +0000 |
commit | dac32bceaa8e37edcf09b1ffc8d3bc279250696e (patch) | |
tree | 0c51b0570b79adddb64a7108c4bd124f46c59a67 /files/ja/orphaned/web/api | |
parent | ba94a1c97f12bb71cf59c2062d546e74d948cd4f (diff) | |
download | translated-content-dac32bceaa8e37edcf09b1ffc8d3bc279250696e.tar.gz translated-content-dac32bceaa8e37edcf09b1ffc8d3bc279250696e.tar.bz2 translated-content-dac32bceaa8e37edcf09b1ffc8d3bc279250696e.zip |
[CRON] sync translated content
Diffstat (limited to 'files/ja/orphaned/web/api')
-rw-r--r-- | files/ja/orphaned/web/api/rtcsessiondescriptioncallback/index.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/files/ja/orphaned/web/api/rtcsessiondescriptioncallback/index.html b/files/ja/orphaned/web/api/rtcsessiondescriptioncallback/index.html new file mode 100644 index 0000000000..df94aca744 --- /dev/null +++ b/files/ja/orphaned/web/api/rtcsessiondescriptioncallback/index.html @@ -0,0 +1,16 @@ +--- +title: RTCSessionDescriptionCallback +slug: orphaned/Web/API/RTCSessionDescriptionCallback +translation_of: Web/API/RTCSessionDescriptionCallback +original_slug: Web/API/RTCSessionDescriptionCallback +--- +<p>{{APIRef("WebRTC")}}{{SeeCompatTable}}RTCSessionDescriptionCallbackはオファーまたはアンサーの作成が要求された時に <a href="/en-US/docs/">RTCPeerConnection</a> オブジェクトによって実行されます。 </p> + +<h3 id="例">例</h3> + +<pre>var pc = new RTCPeerConnection(); +var descriptionCallback = function(offer) { + pc.setLocalDescription(offer); +} +pc.createOffer(descriptionCallback); +</pre> |