Skip to content

Repository files navigation

LiveKit Track Processors Unity SDK

Use this SDK to add track processors feature to LiveKit WebGL Unity SDK, this SDK uses LiveKit Track Processors

Installation :

Follow this unity tutorial using the https://github.com/Mohelm97/live-kit-track-processors-unity-webgl.git link.

Examples

Enable Background Blur

IEnumerator EnableCameraWithBlur ()
{
    var setCameraEnabledPromise = room.LocalParticipant.SetCameraEnabled(true);
    yield return setCameraEnabledPromise;
    if (!setCameraEnabledPromise.IsError)
    {
        JSHandle backgroundBlur = TrackProcessors.BackgroundBlur(10);
        setCameraEnabledPromise.ResolveValue.VideoTrack.SetProcessor(backgroundBlur);
    }
}

About

Port for LiveKit track processors for Unity WebGL

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages