Skip to Content
図解まるわかり VR・AR・MRのしくみ
book

図解まるわかり VR・AR・MRのしくみ

by monoAI technology株式会社
October 2024
Intermediate
240 pages
6h 57m
Japanese
Shōeisha
Content preview from 図解まるわかり VR・AR・MRのしくみ
104
WebRTC
映像や音声をリアルタイムで
通信する技術
5-10
リアルタイム通信を実現するWebRTC
WebRTCWebReal-TimeCommunicationは、Webブラウザ間でリ
アルタイム通信を実現する一連のAPIソフトウェアやプログラムの間を
つなぐインタフェースです。これを活用することで、ビデオチャットや
ファイル共有などを機能の追加や拡張なしで行えます。また、Google
Chromeなどの主要ブラウザでもサポートされています。
このWebRTC は、基本的に 3 つの役割があります 5-19)
1 つ目はデータ共有です。カメラやマイクなどのデバイスから、音声や
映像データをダウンロードせずにストリーミングで取得して共有します。
2 つ目は、通信経路の確立です。STUN または TURN サーバーを使い、2
のデバイス間に最適な通信経路を確立します。3つ目はデータの暗号化
す。すべての通信データは、SRTPプロトコルを使って暗号化されるた
め、セキュリティが確保されています。SRTPは、RTPReal-time
TransportProtocolを暗号化するためのプロトコルで、音声や映像データ
をリアルタイムで安全に送受信できます。
2つのサーバーを使った通信経路の確立
WebRTCでは、2 つのサーバーを使って通信経路を確立します
5-20)。STUNサーバーは、ネットワークアドレス変換NATの背後に
あるデバイスの公開IPアドレスを取得する ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

図解まるわかり プログラミングのしくみ

図解まるわかり プログラミングのしくみ

増井 敏克
図解まるわかり 仮想化のしくみ

図解まるわかり 仮想化のしくみ

鈴木 健治, 宗村 拓実, 丸山 勝康, 欧 肖

Publisher Resources

ISBN: 9784798185811