LoginSignup
2
2

More than 5 years have passed since last update.

WebRTC SDPのタイプをチェックする。[CodePen埋め込みテスト]

Last updated at Posted at 2018-02-05

See the Pen SDP Type Check by gtk2k (@gtk2k) on CodePen.

Chromeでは64からクロスオリジンな<iframe>ではgUM()が使えないため何も表示されません。CodePenにアクセスしてください。
audioまたはvideoを複数トラックRTCPeerConnectionにaddTrack()して、createOffer()でできたSDPにm=audioまたはm=videoが一つしかなければPlan B、複数あればUnified Planと判断。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2