webrtc android

netstat -an | findstr 8001
  git config --global http.proxy http://127.0.0.1:8001
  git config --global https.proxy http://127.0.0.1:8001
  git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
   
  apt install openssh-server lrzsz curl vim git
   
  alias vi='vim'
  export http_proxy="http://localhost:8001/"
  export https_proxy="http://localhost:8001/"
  export ftp_proxy="http://localhost:8001/"
  export PATH=/opt/depot_tools:$PATH
   
  fetch --nohooks webrtc_android
  gclient sync
   
  cd src
  ./build/install-build-deps.sh
  ./build/install-build-deps-android.sh
  source build/android/envsetup.sh
  echo $ANDROID_SDK_ROOT
   
  gn gen out/Debug --args='target_os="android" target_cpu="arm64"'
  ninja -C out/Debug
   
  startup vncserver
  apt install ubuntu-desktop
  reboot
  apt install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal
  vncserver -kill :1
  vncserver :1
 

耗时:

[2:17:10] Still working on:

[2:17:10]   src/third_party/android_ndk

Syncing projects: 100% (303/303), done.                       

Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'

Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*'

Running: git config diff.ignoreSubmodules all

 

将so打包进aar

webrtc android_第1张图片

 

 

你可能感兴趣的:(webrtc,流媒体,android)