summaryrefslogtreecommitdiff
path: root/indra/llwebrtc/llwebrtc_impl.h
AgeCommit message (Collapse)Author
2024-08-17Fixes to managing device start/stop playout/recording.Roxie Linden
Fixes prevent attempting to start playout/recording before the devices are set up, to prevent restarting playout/recording, to prevent attempts to stop when not playing/recording, and so on... This should address the case where audio device changes can cause an assert. It should also address the case where audio was unnecessarily played or transmitted when connecting. And, when voice is disabled, the audio devices are not set up to play/record so there should be no disruption of bluetooth music from other apps.
2024-07-31Implement a Logging Sink for WebRTCRoxie Linden
WebRTC logs now pass out of the webrtc library into a logging sink, which converts them into SecondLife.log compatable logging calls. This includes fatal errors and asserts, which are now logged into SecondLife.log, and should be available in the crash logger.
2024-07-29Fix trailing whitespaces in webrtc code to pass pre-commitAndrey Lihatskiy
2024-06-24[WebRTC] control microphone gain via custom audio processor.Roxie Linden
Previously, there were two places audio gain could be controlled: - the device manager - the audio track The device manager audio gain control sets the system gain for all applications, not just the webrtc application. The audio track gain happens well after the audio processing where we want it to happen. So, gain control was added to the existing custom audio processor, which previously only handled calculating and retrieving the audio levels. After these changes, the microphone gain slider does impact the audio volume heard by peers.
2024-05-17Clean up some shutdown code.Roxie Linden
2024-04-28Reconnects to the voice server weren't happening.Roxie Linden
2024-04-07Show 'decline' when peer declines p2p voiceRoxie Linden
The simulator will send a chatterbox notification that voice is no longer in use for a given channel, and the viewer should take that as a case where the peer does not want voice, hence it's a decline.
2024-04-01Fix "default" audio device handling.Roxie Linden
Windows and Mac/Linux behave slightly differently with respect to Default devices, in that mac/linux (I think) simply assumes the device at index 0 is the default one, and windows has a separate API for enabling the default device.
2024-03-30Fix windows crashesRoxie Linden
* sampling rate was set to 8khz for audio processing, which was causing a 'bands' mismatch with the echo cancler. * Some funnybusiness with lambdas and captures and such was causing a heap crash with respect to function parameters.
2024-03-30Add UI for managing echo cancellation, AGC, and noise control.Roxie Linden
Plumb audio settings through from webrtc to the sound preferences UI (still needs some tweaking, of course.) Also, choose stun servers based on grid. Ultimately, the stun stun servers will be passed up via login or something.
2024-03-19Simplify workqueue calls. Fix issue with webrtc blocking on destruction.Roxie Linden
2024-03-14Refactor device selection logicRoxie Linden
This refactor fixed a few bugs. There is an annoying 'click' when changing devices, however. This will be addressed in the future.
2024-03-13some comments; allow proximal channel to retry when it dropsRoxie Linden
2024-03-10Remove trailing spaces. Other code cleanup.Roxie Linden
2024-03-09code beautification/commentsRoxie Linden
2024-03-05The response from the provision account call was being called twice for some ↵Roxie Linden
reason
2024-02-22put observer-based tuning audio level calculation backRoxie Linden
2024-02-22Use a custom audio processor to pull data for level determinations, which ↵Roxie Linden
will happen after AGC
2024-02-22Handle 'device changed' callbackRoxie Linden
2024-02-22New WebRTC with echo cancellation fix.Roxie Linden
Also, start/stop recording depending on whether WebRTC has negotiated.
2024-02-22fix device selection (hopefully)Roxie Linden
2024-02-22missed fileRoxie Linden
2024-02-22Using the device module to set speaker/mic volume set the system mic/volumeRoxie Linden
for all applications. Instead, modify the volume on the various streams.
2024-02-22Refactor/clean-up WebRTC voice to handle multiple voice streamsRoxie Linden
This is useful for cross-region voice, quick voice switching, etc.
2024-02-22comment fixesRoxie Linden
2024-02-22SL-20543 - voice over region boundaries.Roxie Linden
This commit includes code to allow the llwebrtc.dll/dylib to allow multiple connections at once.
2024-02-22Fix race in initialization. Fix failure to send ice candidates to janus.Roxie Linden
2024-02-22fix device selection while speaking.Roxie Linden
2024-02-22Improve reconnection logic and allow device setting when connected or not ↵Roxie Linden
connected
2024-02-22Smooth voice power level reporting.Roxie Linden
2024-02-22Fix shutdown crash issue.Roxie Linden
2024-02-22Stream audio levels to and from viewers via DataChannelsRoxie Linden
2024-02-22add datachannel supportRoxie Linden
2024-02-22Fix voice device settingsRoxie Linden
2024-02-22Hook up speaker volume.Roxie Linden
2024-02-22Fix windows pragma errorRoxie Linden
2024-02-22Updates to build on mac.Roxie Linden
2024-02-22Checkpoint WebRTC VoiceRoxie Linden