Tuan Anh Posted November 2, 2022 Share Posted November 2, 2022 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 More sharing options...
1 Mohit Posted November 6, 2022 Share Posted November 6, 2022 Hi, We have applied these patches to the M96 branch. m96 branch head is -> branch-heads/4664 https://github.com/ant-media/WebRTC-iOS-SDK/tree/master/webrtc_framework Thank you 0001-Support-external-audio-from-Broadcast-Extension.patch 0001-dont-ask-mic-permission-commits (1).patch Link to comment Share on other sites More sharing options...
0 Mohit Posted November 2, 2022 Share Posted November 2, 2022 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 More sharing options...
0 Tuan Anh Posted November 2, 2022 Author Share Posted November 2, 2022 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 More sharing options...
0 Tuan Anh Posted November 9, 2022 Author Share Posted November 9, 2022 Hi Mohit, This is what I need. Thank you very much. If you don't mind, please update this info in README of the folder https://github.com/ant-media/WebRTC-iOS-SDK/tree/master/webrtc_framework 1 Link to comment Share on other sites More sharing options...
0 Mohit Posted November 10, 2022 Share Posted November 10, 2022 14 hours ago, Tuan Anh said: Hi Mohit, This is what I need. Thank you very much. If you don't mind, please update this info in README of the folder https://github.com/ant-media/WebRTC-iOS-SDK/tree/master/webrtc_framework Hi @Tuan Anh, I'm happy that it worked 🙂 Surely, thank you for the suggestion. Have a great week. Link to comment Share on other sites More sharing options...
Question
Tuan Anh
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
Top Posters For This Question
3
3
Popular Days
Nov 2
3
Nov 6
1
Nov 9
1
Nov 10
1
Top Posters For This Question
Mohit 3 posts
Tuan Anh 3 posts
Popular Days
Nov 2 2022
3 posts
Nov 6 2022
1 post
Nov 9 2022
1 post
Nov 10 2022
1 post
Popular Posts
Tuan Anh
Hi Mohit, This is what I need. Thank you very much. If you don't mind, please update this info in README of the folder https://github.com/ant-media/WebRTC-iOS-SDK/tree/master/webrtc_framewor
5 answers to this question
Recommended Posts