Skip to content

🎥 Improve Media Support: Add Polyfill for Audio/Video Transmission #338

@Aviv1000

Description

@Aviv1000

Hello,

First of all, I really appreciate the effort put into node-datachannel.
It’s a great library for WebRTC applications in Node.js, and I’d love to see its capabilities expand further.

Currently, there is a limitation in handling media streams (audio/video) due to missing support for key WebRTC functionalities.
While data channels work well, certain media-related methods are either unavailable or not fully functional.

Missing Media Features:
ontrack, addTransceiver, replaceTrack , stop, etc...

Proposed Enhancements:
Implement Polyfill for Media Transmission – Support essential WebRTC APIs such as ontrack, addTransceiver, replaceTrack, and stop.
FFmpeg Integration (if needed) – A built-in bridge or helper function to encode/decode media streams efficiently.
Middleware or Helper Functions – If full WebRTC API support is difficult to achieve, consider exposing helper functions to allow developers to process media streams externally (e.g., via FFmpeg).

Expanding node-datachannel to support media properly would make it the go-to library for WebRTC in Node.js, filling a major gap left by old wrtc library. This would unlock real-time VoIP, video conferencing, and live streaming capabilities with a stable, well-maintained library.

Thank you again for your hard work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions