Jump to content
  • 0

RTCAudioDeviceModule class not found when rebuilding WebRTC


Tuan Anh
 Share

Question

I want to stream static video and audio file, so I need to customize audio and video source for WebRTC. I rebuilt  WebRTC framework as this tutorial https://github.com/ant-media/WebRTC-iOS-SDK/tree/master/webrtc_framework.

- Get original WebRTC source from https://webrtc.github.io/webrtc-org/native-code/ios/

- Checkout bellow commit  m96 branch -> branch-heads/4664

- Apply 0001-dont-ask-mic-permission-commits.patch 

- Replace the WebRTC.xcframework folder with the current one

But I get this error: class RTCAudioDeviceModule not found in the source file: WebRTCClient.swift

What wrong with rebuilding WebRTC framework for Ant Media here?

 

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
13 hours ago, Tuan Anh said:

I want to stream static video and audio file, so I need to customize audio and video source for WebRTC. I rebuilt  WebRTC framework as this tutorial https://github.com/ant-media/WebRTC-iOS-SDK/tree/master/webrtc_framework.

- Get original WebRTC source from https://webrtc.github.io/webrtc-org/native-code/ios/

- Checkout bellow commit  m96 branch -> branch-heads/4664

- Apply 0001-dont-ask-mic-permission-commits.patch 

- Replace the WebRTC.xcframework folder with the current one

But I get this error: class RTCAudioDeviceModule not found in the source file: WebRTCClient.swift

What wrong with rebuilding WebRTC framework for Ant Media here?

 

Hi @Tuan Anh,

How are you?

Thank you for your question and the reproduce case. Let me discuss about this internally and get back to you.

--

Best Regards,

Mohit Dubey

Link to comment
Share on other sites

  • 0
2 hours ago, Mohit said:

Hi @Tuan Anh,

How are you?

Thank you for your question and the reproduce case. Let me discuss about this internally and get back to you.

--

Best Regards,

Mohit Dubey

Hi @Mohit,

I think that the class RTCAudioDeviceModule is not in original WebRTC source code. It come from this folk, right? https://github.com/pixiv/webrtc/blob/branch-heads/pixiv-m78/README.pixiv.en.md 

I’m not sure which commit I should checkout to rebuild this webrtc lib. Waiting for your response. Thank you.

Link to comment
Share on other sites

 Share

×
×
  • Create New...