Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

openwebrtc Compilation Procedure For X86

STEP 1:

Below command is cloning the openwebrtc opensource openwebrtc  source into current PC.

git clone https://github.com/rdkcteam/openwebrtc-m72.git

...

user@BLTSLRM110:~/Desktop$ git clone https://github.com/rdkcteam/openwebrtc-m72.git

Cloning into 'openwebrtc-m72'...

remote: Enumerating objects: 248119, done.

remote: Counting objects: 100% (7886/7886), done.

remote: Compressing objects: 100% (4130/4130), done.

Receiving objects: 100% (248119/248119), 1.15 GiB | 1.67 MiB/s, done.

remote: Total 248119 (delta 3500), reused 7844 (delta 3468), pack-reused 240233

Resolving deltas: 100% (67555/67555), done.

Updating files: 100% (259872/259872), done.


STEP 2:

Goto openwebrtc-m72 folder and give below export command.

export PATH=$PATH:/home/user/Desktop/openwebrtc-m72/buildtools/linux64/


Console output

user@BLTSLRM110:~/Desktop$ cd openwebrtc-m72/

user@BLTSLRM110:~/Desktop/openwebrtc-m72$ export PATH=$PATH:/home/user/Desktop/openwebrtc-m72/buildtools/linux64/


STEP 3:

Run the below command.

gn gen out/Default --args='rtc_use_h264=true is_component_ffmpeg=true rtc_libvpx_build_vp9=false rtc_use_gtk=false rtc_include_tests=false'

...

user@BLTSLRM110:~/Desktop/openwebrtc-m72$ gn gen out/Default --args='rtc_use_h264=true is_component_ffmpeg=true rtc_libvpx_build_vp9=false rtc_use_gtk=false rtc_include_tests=false'

Done. Made 651 targets from 185 files in 322ms


STEP 4:

Run the below command.

ninja -C out/Default

Completion of above command all the binaries are generated into out/Default folder inside.