Socket
Socket
Sign inDemoInstall

wtv-mediaserver-api

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wtv-mediaserver-api

wTVision Media Server API Javascript Library


Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Media Server API

Use this module to talk to wTVision's Media Server version 3.x onward.

Instalation

npm i wtv-mediaserver-api

Usage

 const mediaServer = require('wtv-mediaserver-api')

 async function doStuff() {
   // Connects to localhost on the default port
   let status = await mediaServer.connect()
   // get Status Information on what's playing
   status = await mediaServer.getPositionAndLength()
   console.log(status)
   // adds a file from Media Server's root media folder
   await mediaServer.addFile('mediaFile.mxf')
   await mediaServer.play()
 }

 doStuff()

Commands

  • connect
  • addFile
  • play
  • pause
  • stop
  • liveIn
  • liveOut
  • skipNext
  • getStatus
  • getPositionAndLength
  • moveTo
  • setDebug
  • disconnect

Keywords

FAQs

Last updated on 09 Jan 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc