Skip to main content

werift

werift (Webrtc Implementation for TypeScript)

werift is a WebRTC Implementation for TypeScript (Node.js)

install#

npm install werift

Documentation (WIP)#

examples#

https://github.com/shinyoshiaki/werift-webrtc/tree/master/examples

SFU#

https://github.com/shinyoshiaki/node-sfu

demo#

MediaChannel#

yarn media

open https://shinyoshiaki.github.io/werift-webrtc/examples/mediachannel/pubsub/answer

see console & chrome://webrtc-internals/

DataChannel#

run

yarn datachannel

open https://shinyoshiaki.github.io/werift-webrtc/examples/datachannel/answer

see console & chrome://webrtc-internals/

RoadMap#

Work in Progress Towards 1.0#

  • STUN
  • TURN
    • UDP
  • ICE
    • Vanilla ICE
    • Trickle ICE
  • DTLS
    • DTLS-SRTP
    • Curve25519
    • P-256
  • DataChannel
  • MediaChannel
    • sendonly
    • recvonly
    • sendrecv
    • multi track
  • RTP
  • RTCP
    • SR/RR
    • Picture Loss Indication
    • ReceiverEstimatedMaxBitrate
    • GenericNack
    • TransportWideCC
  • SRTP
  • SRTCP
  • SDP
  • PeerConnection
  • Simulcast
    • recv
  • BWE
    • sender side BWE
  • Documentation
  • Compatibility
    • Chrome
    • FireFox
    • Pion
    • aiortc
    • sipsorcery
  • Interop E2E test
  • Unit Tests

Road Map Towards 2.0#

  • API compatible with browser RTCPeerConnection
  • ICE
    • ICE restart
  • SDP
    • reuse inactive m-line
  • Simulcast
    • send
  • support more cipher suites

reference#