Nearly Perfect Mediocracy

    This package has been deprecated

    Author message:

    Now obsoleted by the rtcpeerconnection package

    jingle-rtcpeerconnection

    0.2.11 • Public • Published

    Jingle-RTCPeerConnection

    What is this?

    Jingle-RTCPeerConnection is a wrapper for Henrik Joreteg's RTCPeerConnection that works with JSON instead of raw SDP, as processed by SDP-Jingle-JSON.

    Installing

    npm install jingle-rtcpeerconnection
    

    If you're not using browserify or you want AMD support use jingle-rtcpeerconnection.bundle.js.

    How to Use

    Jingle-RTCPeerConnection exposes the same API methods and events as RTCPeerConnection.

    The differences are:

    • Offer and answer results look like:

        {
            type: "offer", // or "answer",
            sdp: "RAW SDP",
            json: {...}
        }
      
    • ICE candidates are JSON objects and not an SDP line string.

    License

    MIT

    Credits

    If you like this, follow @lancestout on twitter.

    Install

    npm i jingle-rtcpeerconnection

    DownloadsWeekly Downloads

    0

    Version

    0.2.11

    License

    MIT

    Last publish

    Collaborators

    • lancestout