node-rtmpapi
node-rtmpapi copied to clipboard
issue in calling sendAmf0EncCmdMsg
I am trying to use this library for creating a client application. when i created the following code, I'm getting TypeError: undefined is not a function for sendAmf0EncCmdMsg function call.
var rtmpchunk= require('./rtmpChunk.js'); msgchunk=new rtmpchunk(opt); var object=prepareConnectCommand(); msgchunk.sendAmf0EncCmdMsg(object);