Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to send custom audio buffer #385

Open
Yabby1997 opened this issue May 27, 2024 · 3 comments
Open

A way to send custom audio buffer #385

Yabby1997 opened this issue May 27, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@Yabby1997
Copy link

Yabby1997 commented May 27, 2024

Is your feature request related to a problem? Please describe.
What I need to implement is to send video and audio buffer on my own in a format of CMSampleBuffer.
I found out that it is available to send video by using BufferCapturer but it seems there is no way to send audio in a similar manner.

Describe the solution you'd like
Can you provide me a way to send audio buffer on my own if available?
If not, will you planning to add a similar way to do so?

Describe alternatives you've considered
Directly using LiveKitWebRTC rather using LiveKit.

Additional context

@Yabby1997 Yabby1997 added the enhancement New feature or request label May 27, 2024
@hiroshihorie
Copy link
Member

Unfortunately this is not possible at the moment, I want to add support for this.

@Yabby1997
Copy link
Author

Thanks for letting me know. It's sad to hear that it is not currently supported. I hope to see this feature updated soon.

@hiroshihorie
Copy link
Member

I think I will need to re-write the WebRTC's AudioDeviceModule using AVAudioEngine and also provide a path to feed in custom buffers. Which will work for screen share also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants