MDN/Projects/Content/WebRTC

From MozillaWiki
< MDN‎ | Projects‎ | Content
Revision as of 18:57, 23 July 2014 by Sheppy (talk | contribs)
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.

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.

User guides

  • High level guides
    • Introduction to WebRTC (what it is and what it can do)
    • Overview of the APIs
    • Supported formats
    • FAQ
  • Low level guides
    • Creating a peer-to-peer connection
    • Using DTMF
    • Sending and receiving data
    • Video conferencing

???

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
  • 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
  • Contact API
      • Using contacts to start a WebRTC session

References

Implementation thoughts