Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.15 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.15 KB

node-gst-webrtc

Implement WebRTC Javascript API using Gstreamer's webrtcbin and friends. Uses node-gtk.

Why?

I was inspired by how many of major browsers uses libwebrtc as the basis of their WebRTC implementations, and (allegedly) how hard it is to add a new HW acceleration to it. Implementing this wrapper opens WebRTC to the world of Gstreamer's flexibility and support for multiple HW-accelerated plugins.

...That is, until I realized that WebKitGTK already incoperated Gstreamer into their WebRTC implementation (on top of libwebrtc). Still, this project is fun regardless. Let's see how far I can push this wrapper.

Current state

  • Can send, receive data using data channel.
  • Can receive media.
  • Cannot send media yet.

Rolling TODO

  • Implement MediaStream media closure for RTPReceiver
    • Remote side (listen for EOS)
    • Local side (.stop() for MediaStreamTrack, stop() for source?)
  • Deals with memory leak in node-gtk (romgrk/node-gtk#302)