30分で挑戦! Twilioを使ったWebRTCベースの ビデオアプリケーション開発者体験とは？ 2022.11.26 池原 大然 (@neri78)
Legal disclaimer・法的免責事項 This presentation and the accompanying oral presentation contain forward-looking statements. All statements other than statements of historical fact contained in this presentation, including statements as to future results of operations and ﬁnancial position, planned products and services, business strategy and plans, objectives of management for future operations of Twilio Inc. and its subsidiaries (“Twilio” or the “Company”), market size and growth opportunities, competitive position and technological and market trends, are forward-looking statements. In some cases, you can identify forward-looking statements by terms such as “expect,” “plan,” “anticipate,” “intend,” “target,” “project,” “predict,” “potential,” “explore” or “continue” or the negative of these terms or other similar words. Twilio has based these forward-looking statements largely on its current expectations and assumptions and on information available as of the date of this presentation. The Company assumes no obligation to update any forward-looking statements after the date of this presentation, except as required by law. The forward-looking statements contained in this presentation and the accompanying oral presentation are subject to known and unknown risks, uncertainties, assumptions and other factors that may cause actual results or outcomes to be materially diﬀerent from any future results or outcomes expressed or implied by the forward-looking statements. These risks, uncertainties, assumptions and other factors include, but are not limited to, those related to the Company’s business and ﬁnancial performance, the Company’s ability to attract and retain customers, the Company’s ability to develop new products and services and enhance existing products and services, the Company’s ability to respond rapidly to emerging technology trends and adapt to adverse changes in general economic or market conditions, the Company’s ability to comply with modiﬁed or new industry standards, laws and regulations applying to its business, the Company’s ability to execute on its business strategy, the Company’s ability to compete eﬀectively and the Company’s ability to manage growth. Moreover, the Company operates in a very competitive and rapidly changing environment, and new risks may emerge from time to time. It is not possible for the Company to predict all risks, nor can the Company assess the impact of all factors on its business or the extent to which any factor, or combination of factors, may cause actual results or outcomes to diﬀer materially from those contained in any forward-looking statements the Company may make. This presentation also contains estimates and other statistical data made by independent parties and by the Company relating to market size and growth and other industry data. These data involve a number of assumptions and limitations, and you are cautioned not to give undue weight to such estimates. The Company has not independently veriﬁed the statistical and other industry data generated by independent parties and contained in this presentation and, accordingly, it cannot guarantee their accuracy or completeness. In addition, projections, assumptions and estimates of its future performance and the future performance of the markets in which the Company competes are necessarily subject to a high degree of uncertainty and risk due to a variety of factors. These and other factors could cause results or outcomes to diﬀer materially from those expressed in the estimates made by the independent parties and by Twilio. This presentation also includes certain non-GAAP ﬁnancial measures. These non-GAAP ﬁnancial measures are in addition to, and not as a substitute for or superior to measures of ﬁnancial performance prepared in accordance with GAAP. There are a number of limitations related to the use of these non-GAAP ﬁnancial measures versus their nearest GAAP equivalents. For example, other companies may calculate non-GAAP ﬁnancial measures diﬀerently or may use other measures to evaluate their performance, all of which could reduce the usefulness of the Company’s non-GAAP ﬁnancial measures as tools for comparison. The Company has provided a reconciliation of those measures to the most directly comparable GAAP measures, which is available in the appendix. For further information with respect to Twilio, we refer you to our most recent quarterly report on Form 10-Q ﬁled with the SEC. In addition, we are subject to the information and reporting requirements of the Securities Exchange Act of 1934 and, accordingly, ﬁle periodic reports, current reports, proxy statements and other information with the SEC. The ﬁnal prospectus and these periodic reports, current reports, proxy statements and other information are available for review at the SEC’s website at http://www.sec.gov.
自己紹介 池原 大然 Twilio デベロッパーエバンジェリスト firstname.lastname@example.org Twitter: @neri78
Twilio = 様々なコミュニケーションチャネルをクラウドを介し、 プログラム可能な状態で利用できるサービス © 2022 TWILIO INC. ALL RIGHTS RESERVED.
WebRTCとは？ Webブラウザ間でのリアルタイムコミュニケーションを実現する技術 https://www.twilio.com/blog/build-vs-buy-architect-guide-webrtc © 2022 TWILIO INC. ALL RIGHTS RESERVED.
Twilio Programmable Video WebRTCを利用し、最大50名までのビデオチャット機能を提供 シグナリングをサポートする インフラストラクチャ Web, iOS, Android向けのSDK メディアサービスの提供 © 2022 TWILIO INC. ALL RIGHTS RESERVED.
Twilio Programmable Video 2022 TWILIO INC. ALL RIGHTS RESERVED
「ルーム」ベースのビデオチャット Peer-to-Peer Rooms 少人数向け（〜3名程度） Group Rooms 大人数向け（最大50名） © 2022 TWILIO INC. ALL RIGHTS RESERVED.
全体像 フロントエンド バックエンド Twilio Video Room ステータスコールバック シグナリング通知 シグナリング命令 RESTリクエスト ステータスコールバック https://www.twilio.com/docs/video/tutorials/understanding-video-rooms-apis © 2022 TWILIO INC. ALL RIGHTS RESERVED.
1. ルームの作成 Room作成を リクエスト Room情報を返信 Roomを作成 © 2022 TWILIO INC. ALL RIGHTS RESERVED.
2. アクセストークンの生成 トークンを返信 アクセストークンをリク エスト Twilio資格情報を 用いてトークン作成 © 2022 TWILIO INC. ALL RIGHTS RESERVED.
3. ルームに接続 アクセストークンの確 認および、シグナリン グ接続の確立 アクセストークンを用 いて接続 © 2022 TWILIO INC. ALL RIGHTS RESERVED.
4. トラックの処理 トラック1を公開 トラック1を購読 トラック2を公開 トラック2を購読 © 2022 TWILIO INC. ALL RIGHTS RESERVED.
こんな機能もあります 仮想背景 - https://www.twilio.com/blog/introducing-virtual-backgrounds-browser-based-video-applications ノイズキャンセレーション - https://www.twilio.com/blog/introducing-noise-cancellation-for-twilio-video © 2022 TWILIO INC. ALL RIGHTS RESERVED.
リソース 2022 TWILIO INC. ALL RIGHTS RESERVED
リソース ドキュメント https://www.twilio.com/ja/labs ハンズオン手順書 https://neri78.github.io/Twilio-HandsOn-Video-JP 関連情報 - Qiita https://qiita.com/search?q=twilio+video 2022 TWILIO INC. ALL RIGHTS RESERVED
お知らせ1 - Twilioハッカソンを開催！(12/3-4) https://hackathon.we-are-ma.jp/twilio2022/
お知らせ2 - Qiita Advent Calendar - プレゼント企画開催中！ 賞品: 高性能デジタルカメラ、M2 iPad Pro、ワイヤレスノイキャンヘッドフォン https://qiita.com/advent-calendar/2022/twilio
Thank you ありがとうございました