livekit / client-sdk-unity

Official Unity SDK for LiveKit
https://livekit.io
32 stars 13 forks source link

Multithread refactor #18

Closed markgrossnickle closed 8 months ago

markgrossnickle commented 8 months ago

WIP. Will update this as I go. If you read this before I update here are some quick thoughts:

Some thoughts moving forward:

  1. Test. We have an audio issue elsewhere which Cristian is working on so I can't fully test this yet.
  2. For threading in audio/video I am mostly using the last object. Will need to see if we need a queue instead.
  3. For threading again... make sure everything is working on a background thread. I believe the client should handle ensuring texture updates/etc should be done on the main thread.
CLAassistant commented 8 months ago

CLA assistant check
All committers have signed the CLA.

markgrossnickle commented 8 months ago

Sorry, was meant for a fork.