Custom ADM or audio source

247 views
Skip to first unread message

CrIcKeT

unread,
Oct 25, 2023, 11:49:02 AM10/25/23
to discuss-webrtc
Hello.
Are there ways to add custom audio sources and audio output to the WebRTC on Android?

I'm trying to combine WebRTC with Qt 6. It already has all the tools for capturing and outputting audio. I have already managed to capture using Qt tools and send video frames to WebRTC. I also implemented the reception and output of the video stream on the QML page.

I'm guessing that in order to add custom audio I/O to WebRTC I need to implement an AudioDeviceModule class. But looking at its interface, it seems huge and redundant to me. 

Are there other ways to solve this problem?

Henrik Andreasson

unread,
Oct 25, 2023, 2:47:13 PM10/25/23
to discuss...@googlegroups.com
You could start by looking at the existing demo client for WebRTC on Android and how an externally created ADM is injected.
Then you could perhaps extend the default ADM and add new methods or override existing to achieve your goals. 

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/3eea8bcf-9f23-45c7-8c24-df7b4292b153n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages