You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

WebRTC (Web Real-Time Communication) is a technology that enables Web applications and sites to capture and optionally stream audio and/or video media, as well as to exchange arbitrary data between browsers without requiring an intermediary. The set of standards that comprise WebRTC makes it possible to share data and perform teleconferencing peer-to-peer, without requiring that the user install plug-ins or any other third-party software.

Build and Flash Procedure 

Refer below link to build camera image

RDK-C rdk-next Yocto 3.1 dunfell build for Raspberrypi

openwebrtc Compilation Procedure For X86

STEP 1:

Below command is cloning the openwebrtc  source into current PC.

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


Console output

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'


Console output

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.


  • No labels