Peerjs: Is this project dead? What are recommended alternative services?

Created on 29 Nov 2015  路  6Comments  路  Source: peers/peerjs

It's hard to tell - the CDN links are all dead, and have apparently been dead for a long time. Most of the examples are 404s, and the externally hosted ones are broken due to the CDN. When I download the peer.js library manually and use it, it does nothing (does not call my peer.on callback, or make any web requests). Should I use peerjs or find an equivalent service?

Most helpful comment

Time marches on, thanks for a great project!

The project is not dead)

We just started to upgrade a codebase to typescript, remove old stuff.

I hope we'll be able to revive it

All 6 comments

@jameshfisher it works for me. only thing is chrome blocks getUserMedia on insecure origins, and firefox and chrome don't support calling getUserMedia in the way they constructed their shim. this however works as an alternative for me:

function webrtc(onMedia,onError)
{
    function notSupported(){};

    var which = (navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || notSupported).name;

    var args = {video: true, audio: true};

    if(which !== 'notSupported'){
        navigator[which](args,onMedia,onError);
    }else{
        onError('webrtc not supported');
    }
}

just pass in your onMedia and onError callbacks. easy damn peasy.

After trying several libraries, simple-peer is the best alternative and used in production by several new applications. Actively maintained and unlikely to ever become abandonware.

Use getusermedia instead of worrying about the changing spec.

Time marches on, thanks for a great project!

Time marches on, thanks for a great project!

The project is not dead)

We just started to upgrade a codebase to typescript, remove old stuff.

I hope we'll be able to revive it

@afrokick Please report the situation about project! :-)

.袞懈胁械 袘械谢邪褉褍褋褜!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nick0702y picture nick0702y  路  9Comments

UnsungHero97 picture UnsungHero97  路  5Comments

fresheneesz picture fresheneesz  路  10Comments

geraldsamosir picture geraldsamosir  路  6Comments

jameshfisher picture jameshfisher  路  5Comments