MCPcopy
hub / github.com/webrtc/samples

github.com/webrtc/samples @main sqlite

repository ↗ · DeepWiki ↗
777 symbols 1,682 edges 116 files 111 documented · 14%
README

WebRTC Code Samples

This is a repository for the WebRTC JavaScript code samples. All of the samples can be tested from webrtc.github.io/samples.

To run the samples locally

npm install && npm start

and open your browser on the page indicated.

Contributing

We welcome contributions and bugfixes. Please see CONTRIBUTING.md for details.

Bugs

If you encounter a bug or problem with one of the samples, please submit a new issue so we know about it and can fix it.

Please avoid submitting issues on this repository for general problems you have with WebRTC. If you have found a bug in the WebRTC APIs, please see webrtc.org/bugs for how to submit bugs on the affected browsers. If you need support on how to implement your own WebRTC-based application, please see the discuss-webrtc Google Group.

Core symbols most depended-on inside this repo

setLocalDescription
called by 75
test/webrtcclient.js
setRemoteDescription
called by 73
test/webrtcclient.js
getTracks
called by 57
test/webrtcclient.js
getUserMedia
called by 43
test/webrtcclient.js
addTrack
called by 37
test/webrtcclient.js
getVideoTracks
called by 33
test/webrtcclient.js
createOffer
called by 33
test/webrtcclient.js
error
called by 30
src/content/insertable-streams/video-processing/js/webcodec-transform.js

Shape

Function 608
Method 119
Class 50

Languages

TypeScript100%

Modules by API surface

src/js/third_party/webgl_teapot/webgl-debug.js26 symbols
src/content/insertable-streams/video-processing/js/pipeline.js25 symbols
src/content/peerconnection/munge-sdp/js/main.js24 symbols
src/content/peerconnection/audio/js/main.js21 symbols
test/webrtcclient.js19 symbols
src/content/peerconnection/states/js/main.js19 symbols
src/content/peerconnection/restart-ice/js/main.js19 symbols
src/content/peerconnection/upgrade/js/main.js18 symbols
src/content/peerconnection/bandwidth/js/main.js18 symbols
src/content/peerconnection/webaudio-output/js/main.js17 symbols
src/content/peerconnection/pr-answer/js/main.js17 symbols
src/content/insertable-streams/video-analyzer/js/main.js17 symbols

Dependencies from manifests, versioned

@puppeteer/browsers2.2.0 · 1×
eslint8.9.0 · 1×
eslint-config-google0.14.0 · 1×
eslint-plugin-jest27.4.0 · 1×
http-server14.1.0 · 1×
jest29.7.0 · 1×
selenium-webdriver4.19.0 · 1×
stylelint14.5.3 · 1×
stylelint-config-recommended7.0.0 · 1×

For agents

$ claude mcp add samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact