Package Exports
- @bytehive/zoomoscjs
- @bytehive/zoomoscjs/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@bytehive/zoomoscjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ZoomOSCJS
by Bytehive
ZoomOSCJS is a libary to controll Zoom trough ZoomOSC It maps the OSC API of ZoomOSC to a Node.js Event's based API.
Implemented Functions:
ZoomOSC Actions
startLocalRecord(),pauseLocalRecord(),resumeLocalRecord(),stopLocalRecord() startCloudRecord(),pauseCloudRecord(),resumeCloudRecord(),stopCloudRecord() enableUsersUnmute(),disableUsersUnmute() muteAll(),unmuteAll() lowerAllHands(),clearSpotlight() ping(),leaveMeeting(),endMeeting(),ejectAttendees() getWebinarReactionCounts(),resetWebinarReactionCounts() chatAll(message) createBreakout(name:String|number),deleteBreakout(name:String|number),deleteAllBreakouts() openBreakouts(),closeBreakouts(),broadcastToBreakout(message)
User Actions
videoOn(),videoOff() mute(),unMute() spot(),addSpot(),unSpot() raiseHand(),lowerHand(),toggleHand() sendToBreakout(breakoutRoom:String|number) assignToBreakout(breakoutRoom:String|number) unassignFromBreakout(breakoutRoom:String|number) removeFrombreakout(breakoutRoom:String|number) pin(),addPin(),unPin(),pin2(),unPin2(),clearPin() makeHost(),makeCoHost(),reclaimHost(),revokeCoHost() makePanelist(),makeAttendee(),eject() rename(newname:string),allowToRecord() disallowToRecord(),chat(message:string) allowToSpeak(),disallowToSpeak() sendToWaitingRoom(),admit()
UserEvents
"chat","userNameChanged","videoOff" "videoOn","mute","unmute" "handRaised","handLowered" "emojiChanged","isSpeaking" "stoppedSpeaking","activeSpeaker" "askedQuestion","update"
Example
const {Zosc} = require('@bytehive/zoomoscjs');
let zoscCon = new Zosc("192.168.178.110",9090,1234);
zoscCon.on("newUser",(user)=>{
user.on("chat",(msg)=>{
console.log(user.userName," -> wrote :",msg);
})
})
TODO's
- add join Zoom Meeting commands
- add more Exampels
- store Settings about the Meeting in the Meeting class