disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

IPVideoInSystem

Properties

group : ActiveIPVideoInGroup (Read-Only)

Constructors

__init__(self)

Methods

createNMOSIPVideoIn(self, name: str) -> str

Creates a Persistent IP Video In which will be advertised as a receiver capable of all formats on the NMOS
node and can be updated with details via an sdp file via the NMOS API which is used by the node

Parameters:

Returns the receiver id NMOS will use which can be used as a reference to update this IP Video sdp via the NMOS connection API

createOrUpdateVideoInFromSDP(self, file: str, path: optional[str], overwrite: bool, updateNMOSConnectionAPI: bool, sender_id: optional[str], pers: PersistentIPVideoIn) -> str

Create an IP Video In from an sdp file or apply the sdp file to an existing IP Video In. If it’s the latter it won’t
change the path of the IP Video In.

Parameters:

Returns the NMOS receiver ID of the new or existing PersistentIPVideoIn record

downloadSDP(self, url: str, path: optional[str]) -> bool

Download the sdp file from the url given

Parameters:

Returns Success or failure

removeIPVideoInByNMOSReceiverID(self, nmosReceiverId: str)

Removes a Persistent IP Video In from d3, finding it by the NMOS receiver id

Parameters: