Skip to content

Commit

Permalink
Try using a single encoder thread to prevent stalling.
Browse files Browse the repository at this point in the history
There may be a case where creation of encoder threads
causes a stall of the main thread, so instead of creating
a new encoder task queue for each connection, use a single thread
instead for encoding.  While this may load the thread more heavily
in some cases, Second Life only encodes a single stream even in
cross-region spatial situations, so a single thread should be sufficient
instead of starting/stopping threads each time a connection is needed.
  • Loading branch information
roxanneskelly committed Jun 18, 2024
1 parent 9d8d94d commit f386ad8
Show file tree
Hide file tree
Showing 2 changed files with 542 additions and 0 deletions.
Loading

0 comments on commit f386ad8

Please sign in to comment.