Skip to main content

Functions

Dolby.io Bind Material

Binds a dynamic material instance to hold the frames of the given video track. The plugin will update the material's texture parameter named "DolbyIO Frame" with the necessary data, therefore the material should have such a parameter to be usable. Automatically unbinds the material from all other tracks, but it is possible to bind multiple materials to the same track. Has no effect if the track does not exist at the moment the function is called, therefore it should usually be called as a response to the On Video Track Added event.

Inputs and outputs

NameDirectionTypeDefault valueDescription
MaterialInputDynamic Material Instance-The dynamic material instance to bind.
Video Track IDInputstring-The ID of the video track.

Dolby.io Broadcast Message

Sends a message to all participants in the current conference. The message size is limited to 16KB.

This function calls Dolby.io Send Message with an empty array of selected participants.

Inputs and outputs

NameDirectionTypeDefault valueDescription
MessageInputstring-The message to send.

Dolby.io Change Screenshare Parameters

Changes the screen sharing parameters if already sharing screen.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Encoder HintInputDolby.io Screenshare Encoder HintDetailedProvides a hint to the plugin as to what type of content is being captured by the screen share.
Max ResolutionInputDolby.io Screenshare Max ResolutionActual CapturedThe maximum resolution for the capture screen content to be shared as.
Downscale QualityInputDolby.io Screenshare Downscale QualityLowThe quality for the downscaling algorithm to be used.

Dolby.io Connect

Connects to a conference.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Conference NameInputstring"unreal"The conference name. Must not be empty.
User NameInputstring""The name of the participant.
External IDInputstring""The external unique identifier that the customer's application can add to the participant while opening a session. If a participant uses the same external ID in conferences, the participant's ID also remains the same across all sessions.
Avatar URLInputstring""The URL of the participant's avatar.
Connection ModeInputDolby.io Connection ModeActiveDefines whether to connect as an active user or a listener.
Spatial Audio StyleInputDolby.io Spatial Audio StyleSharedThe spatial audio style of the conference.
Max Video StreamsInputinteger25Sets the maximum number of video streams that may be transmitted to the user.
Video Forwarding StrategyInputDolby.io Video Forwarding StrategyLastSpeakerDefines how the plugin should select conference participants whose videos will be transmitted to the local participant.
Video CodecInputDolby.io Video CodecH264The preferred video codec.

Triggered events

EventWhen
On ConnectedSuccessful
On ErrorErrors occur

Dolby.io Demo Conference

Connects to a demo conference.

The demo automatically brings in 3 invisible bots into the conference as a quick way to validate the connection to the service with audio functionality. The bots are placed at point {0, 0, 0}.

Triggered events

EventWhen
On ConnectedSuccessful
On ErrorErrors occur

Dolby.io Disable Video

Disables video streaming.

Triggered events

EventWhen
On Video DisabledSuccessful
On ErrorErrors occur

Dolby.io Disconnect

Disconnects from the current conference.

Triggered events

EventWhen
On DisconnectedSuccessful
On ErrorErrors occur

Dolby.io Enable Video

Enables video streaming from the given video device or the default device if no device is given.

Inputs and outputs

NameDirectionTypeDefault valueDescription
VideoDeviceInputDolby.io Video Devicedefault deviceThe video device to use.
Blur BackgroundInputboolfalseIndicates whether the background should be blurred. This parameter is ignored on platforms other than Windows and macOS.

Triggered events

EventWhen
On Video EnabledSuccessful
On ErrorErrors occur

Dolby.io Get Audio Input Devices

Gets a list of all available audio input devices.

Triggered events

EventWhen
On Audio Input Devices ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Audio Output Devices

Gets a list of all available audio output devices.

Triggered events

EventWhen
On Audio Output Devices ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Current Audio Input Device

Gets the current audio input device.

Triggered events

EventWhen
On Current Audio Input Device ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Current Audio Output Device

Gets the current audio output device.

Triggered events

EventWhen
On Current Audio Output Device ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Current Screenshare Source

Gets the current screenshare source.

Triggered events

EventWhen
On Current Screenshare Source ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Current Video Device

Gets the current video device.

Triggered events

EventWhen
On Current Video Device ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Participants

Gets a list of all remote participants.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Return ValueOutputarray of Dolby.io Participant Info-An array of current Dolby.io Participant Info's.

Dolby.io Get Screenshare Sources

Gets a list of all possible screen sharing sources. These can be entire screens or specific application windows.

Triggered events

EventWhen
On Screenshare Sources ReceivedSuccessful
On ErrorErrors occur

Dolby.io Get Texture

Gets the texture to which video from a given track is being rendered.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Video Track IDInputstring-The ID of the video track.
Return ValueOutputTexture-The texture holding the video track's frame or NULL if no such texture exists.

Dolby.io Get Token From URL

Gets a Dolby.io client access token from a URL.

For convenience during early development and prototyping, this function is provided to acquire a client access token directly from the game.

⚠️ Using this function effectively distributes the permanent app credential with your Unreal application, which is not safe for production deployment. Follow our security best practices to set up a server through which you can acquire a temporary client access token.

Inputs and outputs

NameDirectionTypeDefault valueDescription
URLInputstring-The URL to use to obtain the token.

Triggered events

EventWhen
On Token ObtainedSuccessful

Dolby.io Get Token Using App Key And Secret

Gets a Dolby.io client access token using an app key and secret combination.

For convenience during early development and prototyping, this function is provided to acquire a client access token directly from the game.

⚠️ Using this function effectively distributes the permanent app credential with your Unreal application, which is not safe for production deployment. Follow our security best practices to set up a server through which you can acquire a temporary client access token.

Inputs and outputs

NameDirectionTypeDefault valueDescription
App KeyInputstring-The app key.
App SecretInputstring-The app secret.
Token Expiration Time In SecondsInputinteger3600 (1 hour)The token's expiration time (in seconds).

Triggered events

EventWhen
Token ObtainedSuccessful
On ErrorErrors occur

Dolby.io Get Video Devices

Gets a list of all available video devices.

Triggered events

EventWhen
On Video Devices ReceivedSuccessful
On ErrorErrors occur

Dolby.io Mute Input

Mutes audio input.


Dolby.io Mute Output

Mutes audio output.


Dolby.io Mute Participant

Mutes a given participant for the local user.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Participant IDInputstring-The ID of the remote participant to mute.

Dolby.io Send Message

Sends a message to selected participants in the current conference. The message size is limited to 16KB.

Inputs and outputs

NameDirectionTypeDefault valueDescription
MessageInputstring-The message to send.
Participant IDsInputarray of strings-The participants to whom the message should be sent. If an empty array is provided, the message will be broadcast to all participants.

Dolby.io Set Audio Capture Mode

Sets the preferred noise reduction mode and voice font.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Noise ReductionInputDolby.io Noise Reduction-The noise reduction mode.
Voice FontInputDolby.io Voice Font-The voice font.

Dolby.io Set Audio Input Device

Sets the audio input device.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Native IDInputstring-The ID of the device to use.

Triggered events

EventWhen
On Current Audio Input Device ChangedSuccessful

Dolby.io Set Audio Output Device

Sets the audio output device.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Native IDInputstring-The ID of the device to use.

Triggered events

EventWhen
On Current Audio Output Device ChangedSuccessful

Dolby.io Set Local Player Location

Updates the location of the listener for spatial audio purposes.

Calling this function even once disables the default behavior, which is to automatically use the location of the first player controller.

Inputs and outputs

NameDirectionTypeDefault valueDescription
LocationInputVector-The location of the listener.

Dolby.io Set Local Player Rotation

Updates the rotation of the listener for spatial audio purposes.

Calling this function even once disables the default behavior, which is to automatically use the rotation of the first player controller.

Inputs and outputs

NameDirectionTypeDefault valueDescription
RotationInputRotator-The rotation of the listener.

Dolby.io Set Log Settings

Sets what to log in the Dolby.io C++ SDK.

This function should be called before the first call to Set Token if the user needs logs about the plugin's operation. Calling this function more than once has no effect.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Sdk Log LevelInputDolby.io Log LevelInfoLog level for SDK logs.
Media Log LevelInputDolby.io Log LevelInfoLog level for Media Engine logs.
Dvc Log LevelInputDolby.io Log LevelInfoLog level for DVC logs.
Log to ConsoleInputboolfalseSets whether the logs should be displayed in the Output Log.
Log to FileInputbooltrueIf this is true, the logs will be written to a file in the default project log directory (e.g. Saved/Logs on Windows).

Dolby.io Set Remote Player Location

Updates the location of the given remote participant for spatial audio purposes.

This is only applicable when the spatial audio style of the conference is set to "Individual".

Calling this function with the local participant ID has no effect. Use Set Local Player Location instead.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Participant IDInputstring-The ID of the remote participant.
LocationInputVector-The location of the remote participant.

Dolby.io Set Spatial Environment Scale

Sets the spatial environment scale.

The larger the scale, the longer the distance at which the spatial audio attenuates. To get the best experience, the scale should be set separately for each level. The default value of "1.0" means that audio will fall completely silent at a distance of 10000 units (10000 cm/100 m).

Inputs and outputs

NameDirectionTypeDefault valueDescription
ScaleInputfloat1.0The scale as a floating point number.

Dolby.io Set Token

Initializes or refreshes the client access token. Initializes the plugin unless already initialized.

For quick testing, you can manually obtain a token from the Dolby.io dashboard and paste it directly into the node. Alternatively, you can obtain a token using the Dolby.io Get Token From URL function or the Dolby.io Get Token Using App Key And Secret function.

Inputs and outputs

NameDirectionTypeDefault valueDescription
TokenInputstring-The client access token.

Triggered events

EventWhen
On InitializedInitialization is successful
On ErrorErrors occur

Dolby.io Start Screenshare

Starts screen sharing using a given source.

Users should make use of the parameters to optimize for the content they are sharing. For example, for sharing dynamic content like a YouTube video, the ideal settings are MaxResolution=DownscaleTo1080p, EncoderHint=Fluid, DownscaleQuality=High.

Inputs and outputs

NameDirectionTypeDefault valueDescription
SourceInputDolby.io Screenshare Source-The source to use.
Encoder HintInputDolby.io Screenshare Encoder HintDetailedProvides a hint to the plugin as to what type of content is being captured by the screen share.
Max ResolutionInputDolby.io Screenshare Max ResolutionActual CapturedThe maximum resolution for the capture screen content to be shared as.
Downscale QualityInputDolby.io Screenshare Downscale QualityLowThe quality for the downscaling algorithm to be used.

Triggered events

EventWhen
On Screenshare StartedSuccessful
On ErrorErrors occur

Dolby.io Stop Screenshare

Stops screen sharing.

Triggered events

EventWhen
On Screenshare StoppedSuccessful
On ErrorErrors occur

Dolby.io Unbind Material

Unbinds a dynamic material instance to no longer hold the video frames of the given video track. The plugin will no longer update the material's texture parameter named "DolbyIO Frame" with the necessary data.

Inputs and outputs

NameDirectionTypeDefault valueDescription
MaterialInputDynamic Material Instance-The dynamic material instance to unbind.
Video Track IDInputstring-The ID of the video track.

Dolby.io Unmute Input

Unmutes audio input.


Dolby.io Unmute Output

Unmutes audio output.


Dolby.io Unmute Participant

Unmutes a given participant for the local user.

Inputs and outputs

NameDirectionTypeDefault valueDescription
Participant IDInputstring-The ID of the remote participant to unmute.

Dolby.io Update User Metadata

Updates information about the local participant.

Inputs and outputs

NameDirectionTypeDefault valueDescription
User NameInputString-The name of the participant.
Avatar URLInputString-The URL of the participant's avatar.