Skip to content

A lightweight and efficient WebRTC signaling library written in TypeScript, using WebSocket and Protocol Buffers to exchange SDP (Session Description Protocol) messages

License

Notifications You must be signed in to change notification settings

PHP-WebRTC/signaling-js-sdk

WebRTC Signaling Library for JavaScript

License

A lightweight and efficient WebRTC signaling library written in TypeScript, using WebSocket and Protocol Buffers to exchange SDP (Session Description Protocol) messages. Designed for high-performance and seamless WebRTC integration.


Features

  • Compatible with PHP RTC-Signaling
  • WebSocket-based signaling
  • Protocol Buffers for efficient binary message encoding
  • Supports offer/answer SDP exchange
  • Simple TypeScript API
  • BSD 3-Clause License

Installation

npm i rtc-signaling

Usage

import { RTCSignaling } from 'rtc-signaling';

const signaling = new RTCSignaling();

signaling.request(peerConnection.localDescription).then((answer) =>
  peerConnection.setRemoteDescription(answer)
);

Documentation

This package is part of the PHP WebRTC library. For complete documentation, examples, and API reference, visit:

PHP WebRTC Documentation


Credits

Authors


Reporting Issues

Found a bug? Please report it on our issues.


License

BSD 3-Clause License. See LICENSE for details.

About

A lightweight and efficient WebRTC signaling library written in TypeScript, using WebSocket and Protocol Buffers to exchange SDP (Session Description Protocol) messages

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published