No Description

caner bdb3eb1f9f Signed-off-by: caner <5658514@qq.com> 3 years ago
client-server 5d028ad55b Signed-off-by: caner <5658514@qq.com> 3 years ago
media-recv bdb3eb1f9f Signed-off-by: caner <5658514@qq.com> 3 years ago
media-send 5d028ad55b Signed-off-by: caner <5658514@qq.com> 3 years ago
.gitignore 4af8004470 Initial commit 3 years ago
LICENSE 4af8004470 Initial commit 3 years ago
README.md 5d028ad55b Signed-off-by: caner <5658514@qq.com> 3 years ago

README.md

Examples

client-server

  • You can use client-server example project to test WebRTC Data Channels with WebSocket signaling.
  • It uses same logic of libdatachannel/examples/client project.
  • Contains an equivalent implementation for a node.js signaling server

How to Use?

  • Prepare Project
    • cd examples/client-server
    • npm i
  • Start ws signaling server;
    • node signaling-server.js
  • Start answerer (On a new Console);
    • node client.js
    • Note local ID
  • Start Offerer (On a new Console);
    • node client.js
    • Enter answerer ID

You can also use libdatachannel/examples/client project's client & signaling server