Skip to content

An fca-unofficial module used to add video/voice call functionality.

License

Notifications You must be signed in to change notification settings

fca-unofficial/fca-unofficial-webrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fca-unofficial-webrtc

THIS PROJECT IS JUST A TEST! WebRTC is a mess, and I only have about a day/week to learn about WebRTC and write code.

var fca = require("fca-unofficial");

fca({
    email: "...",
    password: "..."
}).then(function (api) {
    //Get api.listenRTC function
    api.addExternalModule(require("fca-unofficial-webrtc"));

    var msgRec = api.listenMqtt();

    msgRec.on("error", function (err) {
        if (err == "LISTEN OK") {
            api.listenRTC(function (err, data) {
                //Do something with WebRTC data received from Facebook.
            })
        }
    })
})

About

An fca-unofficial module used to add video/voice call functionality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published