Audiosync lockdown systems fork#1
Merged
Merged
Conversation
This adds the ability to capture audio samples directly from WebRTC's
audio device module before they are played to the speaker. This enables
call recording without requiring system audio loopback permissions.
Changes:
- Add AudioSink trait in media.rs (similar to existing VideoSink)
- Add audio_sink field and SetAudioSink event to AudioDeviceModule
- Modify init_playout() data_callback to send samples to registered sink
- Add set_audio_sink() method to PeerConnectionFactory
- Add LastAudioFramesSink buffer in electron.rs for JS polling
- Export setAudioCaptureEnabled() and receiveAudioSamples() to Node.js
- Add TypeScript bindings in Service.ts for Call and GroupCall classes
API usage:
call.setAudioCaptureEnabled(true);
const result = call.receiveAudioSamples(int16Buffer);
// result: { samplesWritten: number, sampleRate: number } | undefined
Change package name from @signalapp/ringrtc to @lockdown-systems/ringrtc
and set up automated publishing workflow for the fork.
Changes:
- Update package name to @lockdown-systems/ringrtc
- Bump version to 2.63.0-audiosink.1 to indicate fork with audio capture
- Change repository URL to lockdown-systems GitHub organization
- Update prebuildUrl to download from GitHub Releases instead of Signal's GCS
- Add GitHub Actions workflow for automated releases on version tags
- Builds native binaries for Linux (x64, arm64), macOS (x64, arm64),
and Windows (x64, arm64)
- Creates GitHub Release with prebuild tarball
- Publishes to npm with checksum validation
This enables publishing the AudioSink API additions as a separate npm
package that can be consumed by Observer Vault.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.