Use the DELTACAST IP integration on x64 to receive or send one ST 2110-20 video stream per selected device channel. This path configures the stream directly, with NMOS disabled. Choose an explicit video format for capture.
Prepare the network and stream settings
dc.ip_config contains an absolute path to a JSON file or the full JSON string. The plug-in reads it
while enumerating devices. Have your deployment supply this setting before the capture or output object
enumerates the board. A PropsSet call on an already selected device does not rebuild its IP
configuration. When the deployment changes the configuration, close and recreate the SDK objects to reload it.
Use rx2110Setup for the stream you receive and tx2110Setup for the stream you send.
The example uses the same physical port for both directions. The local configuration matches in both sections,
and each stream has its own destination address and UDP port. Replace all example addresses with those of
your network.
{
"rx2110Setup": {
"ethPort": 0,
"DHCP": false,
"ipAddress": "192.0.2.10",
"subnetMask": "255.255.255.0",
"gateWay": "192.0.2.1",
"ipAddressMulticast": "239.100.30.10",
"udpPort": 5004,
"depth": 10
},
"tx2110Setup": {
"ethPort": 0,
"DHCP": false,
"ipAddress": "192.0.2.10",
"subnetMask": "255.255.255.0",
"gateWay": "192.0.2.1",
"ipAddressMulticast": "239.100.30.11",
"udpPort": 5006,
"depth": 10,
"payloadType": 96
}
}
| Field | Applies to | Value |
|---|---|---|
ethPort |
RX and TX | Zero-based physical port index. Default 0. |
DHCP |
RX and TX | Boolean. Default false. Use true to obtain the local address from DHCP. |
ipAddress, subnetMask, gateWay
|
RX and TX | Local IPv4 settings for static configuration. The address and mask are required in static mode. The gateway is optional. |
ipAddressMulticast, udpPort
|
RX and TX | Stream destination IPv4 address and destination UDP port (1–65535). RX filters on these two values. TX also uses the configured port as its source UDP port. |
depth |
RX and TX | Video depth in the stream. Use 8 (default) or 10. The SDK uses 8-bit YUV 4:2:2 buffers for this device path. |
payloadType |
TX | RTP payload type, 96–127. Default 96. |
ssrc |
TX | RTP synchronization source identifier. Omit it or use 0 to have the SDK choose one. |
dhcpTimeout, dhcpPollInterval
|
RX and TX | DHCP lease wait and polling interval in milliseconds. Defaults 10000 and 100. |
ioTimeout |
RX and TX | Stream I/O timeout in milliseconds. Default 100. |
When RX and TX share a board port, use the same local address mode and settings in both sections. The plug-in rejects conflicting port settings. The static gateway is shared by the board.
Start capture or output
For capture, set an explicit eMFT_Input format that matches the sender.
Use a fresh capture object. Delay automatic capture at device selection so you can set the format first.
The examples request 1080p50. Use an index or name from the list for your DELTACAST input.
MFormats capture
mfLive.PropsSet("device.start_at_deviceset", "false");
mfLive.DeviceSet(eMFDeviceType.eMFDT_Video, inputIndex, "");
var format = new M_VID_PROPS { eVideoFormat = eMVideoFormat.eMVF_HD1080_50p };
mfLive.FormatVideoSet(eMFormatType.eMFT_Input, format);
MPlatform capture
live.DeviceGetCount(0, "video", out _);
live.PropsSet("object::device.start_at_deviceset", "false");
live.DeviceSet("video", inputName, "");
var format = new M_VID_PROPS { eVideoFormat = eMVideoFormat.eMVF_HD1080_50p };
live.FormatVideoSet(eMFormatType.eMFT_Input, ref format);
For output, select the DELTACAST IP output and use a supported video format for the frames sent by
MFRenderer or MRenderer. See
Initialization of a device for output
and Convert video format on device output.
Check the configuration
Read dc.ip_config.state and dc.ip_config.string with PropsGet on the
selected device. Add device:: in MPlatform. valid means JSON parsed successfully and
the string contains its parsed form. not_valid means the JSON failed to parse. Check that
the direction's setup object is present and that the stream address, UDP port and format agree with the
other end. Verify that the receiver obtains video to confirm the stream is running.
See also Deltacast devices properties.
Still have questions?
Tell us what didn’t work or what you’d like clarified.