[iOS] Passing audio buffer from ReplayKit to WebRTC

732 views
Skip to first unread message

Allan Rodriguez

unread,
Feb 4, 2019, 1:24:15 PM2/4/19
to discuss-webrtc
Hello,

I have an iOS app that broadcasts the user's screen to WebRTC using ReplayKit. I built the app off of the AppRTC demo and got it working, but I don't see a way to pass audio buffers to WebRTC in the same way that video buffers are passed.

Just as we can pass video CMSampleBuffers to an RTCVideoCapturer through a delegate, is there a way to pass the audio CMSampleBuffers to some sort of RTCAudioCapturer? If not, is there some other way to pass system audio to the WebRTC stream? Will there be support for this in the future?

Faizal Malik

unread,
Jan 19, 2020, 1:39:37 AM1/19/20
to discuss-webrtc
Hi Allan, 

I am also looking for the same scenario? Did u get any helpful answers.. how did you resolve the issue?

Your answer much appreciated!

limo

unread,
Jan 19, 2020, 4:44:40 AM1/19/20
to discuss-webrtc
I am also concerned about this issue. After a period of hard work, I don't think that this problem can be solved without changing the webrtc source code.

在 2020年1月19日星期日 UTC+8下午2:39:37,Faizal Malik写道:

Piasy Xu

unread,
Jan 19, 2020, 7:14:46 PM1/19/20
to discuss-webrtc
Checkout this commit: https://github.com/Piasy/webrtc/commit/1bf3c148b615cadc4e2fa637ad51b620274cda4d

在 2020年1月19日星期日 UTC+8下午5:44:40,limo写道:
Reply all
Reply to author
Forward
0 new messages