MDN/Projects/Content/WebRTC
Jump to navigation
Jump to search
Team
- Reference: Jean-Yves
- Guide: Florian
- Sample code: Sheppy
(Jean-Yves and Florian may share guide/reference work).
Goal
- Encourage the use of a critical new Web technology.
- Enable Firefox OS developers to easily learn how to write audio/video apps.
- Enable Firefox OS developers to perform peer-to-peer data transactions.
- Enable Firefox OS developers to write code that sends DTMF (touch-tone phone dialing) signals.
Target Milestones
- September 30
- Complete documentation for Web developers
- All content reviewed
User stories
- I want to write a video capture application.
- I want to write a video/audio chat application.
- I want to do easy peer-to-peer data transactions.
- My app needs to send DTMF tones.
Documents needed
See also this spreadsheet listing individual API items needing to be documented.
Types of Pages
- Reference
- Interfaces
- Properties
- Methods
- Events
- Landing pages
- Guides and tutorials
- Sample apps and web Apps
User guides
- High level guides
- Introduction to WebRTC (what it is and what it can do)
- Overview of the APIs
- Support and compatibility details
- Browser compatibility details
- Supported codecs/formats
- FAQ
- Low level guides
- Creating a peer-to-peer connection
- Using DTMF
- Sending and receiving data
- Video conferencing
- Calling another user
- Receiving a connection
Code samples
- Video
- One way video session
- Audio-only sessions?
- Starting a two-way video session
- Multi-user sessions
- Handling video session errors
- Adding/removing users from a session
- Screen sharing
- One way video session
- Data
- Initiating a data transfer session
- Unidirectional/bidirectional?
- Multicasting? (I don't know yet if this is supported)
- Chat
- A larger example of a chat client/server system using a combination of WebRTC and WebSockets
- Text chat like IRC
- Option to initiate video conference among users
- Option to transmit files among users
- A larger example of a chat client/server system using a combination of WebRTC and WebSockets
- Contact API
- Using contacts to start a WebRTC session
References
- http://dev.w3.org/2011/webrtc/editor/webrtc.html
- http://dev.w3.org/2011/webrtc/editor/getusermedia.html
- http://www.webrtc.org/
- https://hacks.mozilla.org/2013/10/an-ar-game-technical-overview/
- https://hacks.mozilla.org/2013/11/introducing-the-whiteboard-drum-webrtc-and-web-audio-api-magic/
- https://hacks.mozilla.org/2014/04/inside-the-party-bus-building-a-web-app-with-multiple-live-video-streams-interactive-graphics/
- dev-doc-needed bugs
Existing Content
These articles already exist; they may or may not be any good.
- https://developer.mozilla.org/en-US/docs/Web/API/MediaStream
- https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack
- https://developer.mozilla.org/en-US/docs/Web/API/Navigator.getUserMedia
- https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel
- https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection
- https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnectionErrorCallback
- https://developer.mozilla.org/en-US/docs/Web/API/RTCConfiguration
- https://developer.mozilla.org/en-US/docs/Web/API/RTCIceGatheringState
- https://developer.mozilla.org/en-US/docs/Web/API/RTCSignalingState
- https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription
- https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel
- https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC
- https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/WebRTC_basics
- https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/WebRTC_architecture
- https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/Taking_webcam_photos
- https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/Peer-to-peer_communications_with_WebRTC
- https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRTC/Introduction
- https://developer.mozilla.org/en-US/docs/Web/API/MediaStream_API