Skip to content
Mark Roberts edited this page Apr 1, 2019 · 3 revisions

Work-in-progress!

node-webrtc aims to provide a standards-compliant WebRTC implementation for Node.js with a few helpful, non-standard extensions where they make sense. We do this by shipping a Native Addon that binds the webrtc.org implementation. The goal of this document is to help you understand how this project is organized so that you can help contribute to node-webrtc.

Bindings

Note: the following sections refer to filenames and directories that may be slightly out-of-date with respect to what's currently checked-in to the repo. Nevertheless, they are still illustrative of the project's directory structure. If you see a mistake, please fix it! :-)

Enums

src/enums
├── macros
├── node_webrtc
└── webrtc

Dictionaries

src/dictionaries
├── macros
├── node_webrtc
└── webrtc

Interfaces

src/interfaces
├── …
├── media_stream.cc
├── media_stream.h
├── media_stream_track.cc
├── media_stream_track.h
├── rtc_audio_sink.cc
├── rtc_audio_sink.h
├── rtc_audio_source.cc
└── …

Methods

src/methods
├── get_user_media.cc
├── get_user_media.h
└── …

Clone this wiki locally