OpenVeo Publish server

API Docs for: 8.0.0
Show:

WowzaProvider

Summary

Defines a WowzaProvider class to interact with wowza platform.

Constructor

WowzaProvider

Syntax

WowzaProvider

(
  • providerConf
)

Summary

Parameters:

  • providerConf Object

    A wowza configuration object

    • host String

      Server host

    • user String

      Wowza user

    • pwd String

      Wowza user password

    • [protocol=ftp] String optional

      Server protocol (ftp, frtp, sftp or ftps)

    • [port] Number optional

      Server port

Item Index

Properties

Methods

getMediaInfo

Syntax

getMediaInfo

(
  • mediaId
  • expectedDefintion
  • callback
)
async

Summary

Gets information about a media hosted by Wowza.

Parameters:

  • mediaId String

    The Wowza id of the media

  • expectedDefintion String

    The expected media definition, not used for this provider

  • callback Function

    The function to call when it's done

    • Error The error if an error occurred, null otherwise
    • Object Information about the media

remove

Syntax

remove

(
  • mediaIds
  • callback
)
async

Summary

Removes a media from the Wowza platform.

Parameters:

  • mediaIds Array

    Wowza media ids to remove

  • callback Function

    The function to call when it's done

    • Error The error if an error occurred, null otherwise

update

Syntax

update

(
  • media
  • data
  • force
  • callback
)
async

Summary

Updates a media on the platform.

Depending on the platform and what is supported on it, some media properties might be updated and others not. If media has several resources on the platform, the same update will be performed on all resources.

Parameters:

  • media Object

    The media

    • mediaId Array

      The list of media resource ids

  • data Object

    The media datas to update

  • force Boolean

    true to force the update even if datas haven't changed, false otherwise

  • callback Function

    The function to call when it's done

    • Error The error if an error occurred, null otherwise

upload

Syntax

upload

(
  • mediaFilePath
  • callback
)
async

Summary

Uploads a media to the Wowza platform.

Parameters:

  • mediaFilePath String

    THe absolute system path of the media to upload

  • callback Function

    The function to call when it's done

    • Error The error if an error occurred, null otherwise
    • String The media id on the Vimeo platform

Properties

conf

Syntax

conf

Object final

Summary

The media platform's configuration.

ftps

Syntax

ftps

FTPS final

Summary

FTPS client.