Content
Create the content. Here, we are representing a camera called 'Camera North 1' that will be contributed from a stadium to a production studio:
PUT https://api.mk.io/api/projects/myproject/v1/flow/content/camera-north-1
{
"metadata": {
"displayName": "Camera North 1"
}
}
Source
Add a source to the content that represents an SDI baseband ingress. The SDI connector on device 'stadium1' (see spec.transport.url
), so the flow using this source will be assigned to that device by MK.IO. Adapt the spec.transport.url
field to point to the correct board and connector.
PUT https://api.mk.io/api/projects/myproject/v1/flow/sources/camera-north-1-primary
{
"metadata": {
"displayName": "Camera North 1 - Primary"
},
"spec": {
"contentName": "camera-north-1",
"transport": {
"type": "SDI",
"url": "sdi://stadium1/board_1_connector_1"
}
}
}
Destination
Add a destination that represents an SDI baseband egress. The SDI connector is on device 'studio1' (see spec.transport.url
), so the flow using this destination will be assigned to that device by MK.IO. Adapt the spec.transport.url
field to point to the correct board and connector.
PUT https://api.mk.io/api/projects/myproject/v1/flow/destinations/camera-north-1-studio-sdi
{
"metadata": {
"displayName": "Camera North 1 - Studio SDI"
},
"spec": {
"transport": {
"type": "SDI",
"url": "sdi://studio1/board_1_connector_1"
}
}
}
Replace the spec.transport.url
setting with the URL of the SRT listener that you want to test against.