API beta
xMediaNode Server Client
Overview
xMediaNode is a cross-platform, easy-to-use, modular product that allows you to receive media data from files, capture cards, and other software and hardware products, encode, decode, and transmit them over the internet using known standards (such as UDP, SRT, RTP, RTMP, HLS, etc.), including the ability to bypass NAT without the need to open ports. The product consists of the following components:
Signaling server (required to establish connections between nodes and centralized management)
Auth server (authorization server)
xMediaNode server (media data processing server)
xMediaNode client (management client)
All xMediaNode server instances under one license are interconnected via the Signaling server and can be managed using the xMediaNode client.
Installation
Download the xmedia-client source code
Example of Using xMedia
To start broadcasting to NDI from a local file, you need to:
Run xnodeserver at the location where you have access to the media data you plan to work with under your license.
Import
XMediaService
into your project:Create an
xMediaService
object:Authenticate using your license details:
Get the list of locations (xNodeServer instances running under the same license):
Create a source of type "file":
Example:
Create a destination of type NDI:
Initialize the channel:
xMediaService API
All API methods return a response matching the IResponse
interface, which contains one or two fields:
response
(mandatory): if the request is processed without errors, this field contains the response data described in the table below. In case of an error, this field contains the error description.failed
(optional boolean): true if an error occurred.
Last updated