webrtc
webrtc copied to clipboard
Not working without passing CMSampleBuffer
This works fine when I am passing CMSampleBuffer using deliverRecordedData. But in some case, I want it to handle automatically like GoogleWebRTC does. So this is not working for me without passing the sample buffer.
It is a limitation of iOS.
Is there not any option of setting useManualAudio = NO ? When I set it, I receive nothing on the web portal. So ideally, this is not an extension of GoogleWebRTC, It is a modified version of that with ONLY manual audio support. Am I right?
It wouldn't work if you set YES to useManualAudio
and NO to isAudioEnabled
in broadcast extension. It should work in a normal application.
I am not sure if I am able to explain my issue. Here is more explanation. I have two cases to achieve- Case 1 - I need to pass my own audio buffers via webRTC. I have successfully achieved this via this extension. Case 2 - I need to use it exactly same as GoogleWebRTC i.e. I don't want to pass audio buffers manually. I am unable to achieve this via this extension. Is this the limitation?
Thanks for your help.
Yes, that is the limitation of broadcast extension. useManualAudio
and isAudioEnabled
are exposed just to make it compatible with both of the extension and normal application.
I have a normal working application (iOS) where GoogleWebRTC is integrated and working fine. I just replaced GoogleWebRTC framework with the framework at this link - https://github.com/pixiv/webrtc/releases My normal application stopped working. It only works if I provide sample buffer. Will my normal application stop working with this framework?
No, it should work. I have no idea why your application stopped working.
Our project implementation is same as this - https://github.com/stasel/WebRTC-iOS It works fine with GoogleWebRTC but not with this pixiv extension. Our project implementation works fine with the pixiv extension only if we pass buffer manually. Is there any additional setting or we need to set any additional property to make it work in automatic mode (without passing the manual CMSampleBuffer)?
No. You have to debug your application with pixiv extension to see what went wrong.
Can you please provide the steps to compile the ObjC framework from source?
Hi! Any solution for this problem? I have the same issue
How should I configure audioSession in common iOS app? I have implemented that on broadcast extension Thanks for your answers
你好,邮件已收到,谢谢!