这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@NickKhalow
Copy link
Contributor

No description provided.

ashkan-saeedi-mazdeh and others added 30 commits December 15, 2023 13:09
Room Ids are different
modification trying to fix compiler errors
* disconnect support

* Fix name

* To handle better connection and disconnection from room

* change to avoid using of Coroutines, using async methods instead

* async OnAudioRead

* Cleaning logs

* Cancel tokens

* Cancel token

* remove Task.Run, since usually SendRequest is called from other task

* getting rid of use YieldInstruction

* adding audio filter in main thread

* passing CancellationToken instead of CancellationTokenSource

* added check for cancellation at beginning

* Cleaning handles

* fix await

* remove cruft

* Cancellation token cleanup

* Factory async method

* basic handling of remaining events

* more async

* wip

* Compile pass

* formatting

* fix pending check

* revert async changes

* prep audio filter for threads

* loggin

* logs to debug publishing track

* minor cleanup

* added some methods to handle localtrack and SetSubscribed, Clenaing code

* Cleaning up

* fixes for yield instructions

* macro for verbose logs

* Audio data and pointer fix

Still says samplerate and num of channels are incorrect

* remove possibility of null

* todo ref buffering

* minor cleanup

* cruft

* todo object pooling

* remove redundant Task usages on separated threads

---------

Co-authored-by: cdga777 <cdga777@gmail.com>
Co-authored-by: nickkhalow <nickhalow@gmail.com>
* remove redundant Task usages on separated threads

* FfiRequestsPool

* IFFIClient interface

* disposable FFIClient

* FFIClient initialize simplify

* PoolableFFIClient

* NativeMethods pass pointer

* response pooling

* tests for reject manual creation of protocol objects

* FfiResponseWrap, remove manual new Request calls

* remove IPoolableFFIClient

* FFIBridge introduction, remove closures, RAII with FfiResponseWrap and FfiRequestWrap

* Clear -> generic ClearMessage
* fix clear message

* optimise FfiNewRequest - no FfiHandle

* LiveKitInitialize with IntPtr

* const format

* memory pool

* inner message pooling

* ArrayMemoryPool with thread safety

* remove obsolete

* thread safety
# Conflicts:
#	Runtime/Scripts/Internal/FFIHandle.cs
mikhail-dcl and others added 28 commits August 14, 2024 13:40
Now the topic is sent too in the Notification of the data pipe
* Added create track to Room

* Refactor RTCAudioSource

* updated rooms and audio tracks

* added missing metas

* Update IRoom.cs

* Update Track.cs

* Fix to audiosource

* Added logs to AudioSource for debugging

* removed debug data

* Optimized audiosource further

* fix for span

* Added IAudioFilter interface to allow extending it

* Fixes from PR

* extracted IRoom reference from AudioTracks

* remove audio frame size calculation from audio source
* borrow update generate_proto.sh from main repository

* update windows binaries

* remove support for linux

* update protocol

* update macos binaries

* update native methods

* adopt ffi bridge to new contract
* Fixed publish track logic so it gets properly added to tracks and events properly find it

* extracted interface for rtcAudioSource

* changed AudioRead to use spans and renamed AudioSource to RtcAudiosSource to avoid confusions

* Update OptimizedRtcAudioSource.cs

* Added AudioSourceOptions to enable advanced WebRTC features

* Improvements to OptimizedRTCAudioSource

* Improved ConnectionUpdate return value with disconnection reason

* Revert "Improved ConnectionUpdate return value with disconnection reason"

This reverts commit 449239d.

* added cleanup of speakers and participants on Disconnect

* Cleanup of participants on disconnection from room

* Improvements to audio source and audio stream + fixes for room and participants hub

* Update ParticipantsHub.cs

* Update OptimizedRtcAudioSource.cs

* renamed file to better reflect its use

* Update OptimizedMonoRtcAudioSource.cs
@CLAassistant
Copy link

CLAassistant commented Jul 28, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
5 out of 7 committers have signed the CLA.

✅ ashkan-saeedi-mazdeh
✅ cdga777
✅ markgrossnickle
✅ mikhail-dcl
✅ NickKhalow
❌ QThund
❌ fcolarich
You have signed the CLA already but the status is still pending? Let us recheck it.

@NickKhalow NickKhalow closed this Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants