webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

How to compile this sdk with h264 support?

Open fjserrano1 opened this issue 2 years ago • 2 comments

Hello.

Could someone explain how to compile this sdk for Android? I tried to replace this repo files with google's files but build_aar.py fails

Thank you in advance

fjserrano1 avatar Jun 22 '22 09:06 fjserrano1

you can try this step: https://github.com/webrtc-sdk/webrtc-build/blob/main/docs/build.md#android

cloudwebrtc avatar Jun 22 '22 10:06 cloudwebrtc

Thank you for the reply, but, in order to execute build_aar.py script i need some previous steps. For example, with google the steps are:

1- git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git 2- export PATH="$PATH:${HOME}/depot_tools" 3- mkdir webrtc_android 3.1- cd webrtc_android 4- fetch --nohooks webrtc_android 5- gclient sync 6- cd src/ 7- ./build/install-build-deps.sh 8- tools_webrtc/android/build_aar.py

I supose that step 4 can be replaced with the contents of this repo (https://github.com/webrtc-sdk/webrtc), but i am unsure. I supose also than step 5 not must be executed.

Please, could you help me?

Thanks in advance

fjserrano1 avatar Jun 22 '22 13:06 fjserrano1