close
Skip to content

sylvain121/node-webrtc-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-webrtc-endpoint

h264 webrtc endpoint for nodejs

install

npm install node-pion-webrtc --save

##usage

const webrtc = require('node-pion-webrtc');
const localOffer = webrtc.init(sdpOffer,                    // browser sdp offer.
                               commandDataChannelCallback,  // function (msg: string)
                               controlDataChannelCallback,  // function (msg: string)
                               infoCallback                 // function (msg: string)
); 
                                         // Return the local offer to be send to browser

webrtc.writeFrame(h264Frame); // node buffer of H264 frame

About

h264 webrtc endpoint test for nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors