MockRTC
github.com · Package · Active
Mock WebRTC peer and MITM proxy library for testing
- Developer tools
- Package
- TypeScript
- Day-7 check
- Day-30 check
- webrtc
- testing
- mock
- typescript
- webrtc mock
- webrtc testing
- mock webrtc peer
- webrtc debugging
- webrtc proxy
- Stars
- 309
- Forks
- 12
- Open issues
- 1
- Last commit
- Found
- 4 years ago
GitHub figures as of . They are context, not a ranking.
MockRTC is a TypeScript library that provides a mock WebRTC peer and a man-in-the-middle proxy, so developers can inspect and test WebRTC traffic. It suits developers building or debugging applications that depend on WebRTC connections.
Repository description on GitHub: “Powerful friendly WebRTC mock peer & proxy”
What it does
- Mock WebRTC peers with rules that match and mock traffic
- Hook WebRTC connections with MockRTC.hookWebRTCConnection
- Capture and inspect traffic between real WebRTC peers
Good for
- Write automated tests for WebRTC traffic
- Simulate WebRTC errors in a reproducible way
Suits: Developers testing or debugging WebRTC applications.
What you can try
Read the README on GitHub and install from source.
Install
npx mockrtcConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw MockRTC on , when pimterry posted it to Show HN. GitHub listed no published releases for httptoolkit/mockrtc when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 30 points, 3 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 30 points, 3 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: httptoolkit/mockrtc
- Found: pimterry posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was MockRTC released?
- No dated release record is available. Kip found it on Show HN on 5 May 2022.
- Is MockRTC open source?
- Its source is public on GitHub at httptoolkit/mockrtc under the Apache-2.0 licence.
- What does MockRTC run on?
- Library.
- Is MockRTC free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is MockRTC still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | httptoolkit/mockrtc REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-31272194. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.