# createNDIDevice

Version: 4.1.0+

PRO

Description: Create an NDI stream to broadcast a conference participant's video window, content stream, or entire layout on the local network.

Example:

{
    "method": "createNDIDevice",
    "requestId" : "1",
    "deviceId": "user1@some.server"
}

Answer examples:

{
    "method" : "createNDIDevice",
    "requestId" : "1",
    "result" : true
}

Parameter description:

  • deviceId - the identifier of the source for which an NDI stream should be created. Possible values:

    • #mixed:0 - creating a mixed stream for the entire conference layout

    • #contentSharing:slideShowOrDs:1 - creation of a stream for content broadcasted in a separate window by VideoSDK/Room (using the startSlideShow command) or by another participant.

    • PeerId - not supported.

    • CallId - supported. The command is executed for the specified identifier.

    • InstanceId - is supported. Inside the application, it is automatically converted to CallId and the command is then executed with it.

  • requestId - unique request identifier. More details can be found here

To specify the video window of the VideoSDK/Room, set the value of InstanceId to the deviceId parameter. You can find all InstanceId for conference participants, including those belonging to the VideoSDK/Room, using the getConferenceParticipants command.

See also: