Created
August 3, 2018 15:48
-
-
Save voipnorm/bd08e3a4b14e5c7829d830fef538c35e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TpXapi = require( "./utils/endpoint"); | |
const codecs = ['10.10.10.116']; | |
const videoArray = []; | |
codecs.forEach( function (ip) { | |
const endpoint = { | |
'password':"password", | |
'username':"admin", | |
'ipAddress':ip | |
}; | |
const videoCodec = new TpXapi(endpoint); | |
videoArray.push(videoCodec); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment