Versions Compared

Key

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

...

Below command is cloning the openwebrtc  source into current PC.

git clone https://github.com/rdkcteam/openwebrtcnative-m72webrtc.git


Console output

user@BLTSLRM110:~/Desktop$ ~$ git clone https://github.com/rdkcteam/openwebrtcnative-m72webrtc.git
Cloning into 'openwebrtcnative-m72webrtc'...
remote: Enumerating objects: 24811949, done.
remote: Counting objects: 100% (788641/788641), done.
remote: Compressing objects: 100% (4130/4130), done.
Receiving objects: 100% (248119/248119), 1.15 GiB | 1.67 MiB/s20/20), done.
remote: Total 248119 49 (delta 350011), reused 7844 41 (delta 346811), pack-reused 2402338
Resolving deltasUnpacking objects: 100% (6755549/6755549), done.
Updating files: 100% (259872/259872)41.97 KiB | 511.00 KiB/s, done.


STEP 2:

Goto openwebrtc-m72 native-webrtc/PC_Streamer folder and give below export command.export PATH=$PATH:/home/user/Desktop/openwebrtc-m72/buildtools/linux64/commands.

sudo chmod 777 webrtc_browser.sh 

./webrtc_browser.sh 

Console output
Console output

user@BLTSLRM110:~/Desktop$ ~$ cd openwebrtc-m72native-webrtc/PC_Streamer/

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'

native-webrtc/PC_Streamer$ sudo chmod 777 webrtc_browser.sh 
[sudo] password for user: 


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

native-webrtc/PC_Streamer$ ./webrtc_browser.sh 


STEP 3:

Completion of step2  the binaries are generated into native-webrtc/PC_Streamer/webrtc-checkout/Completion of above command all the binaries are generated into out/Default folder inside.

Validation Procedure of Webrtc

...

Run the peerconnection_server binary located at (openwebrtcnative-m72webrtc/out/DefaultPC_Streamer/webrtc-checkout).

./peerconnection_server

...