RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
...
RDK-C rdk-next Yocto 3.1 dunfell build for Raspberrypi
draw.io Diagram | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
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 Receiving objects: 100% (248119/248119), 1.15 GiB | 1.67 MiB/s, done. remote: Total 248119 49 (delta 350011), reused 7844 41 (delta 346811), pack-reused 2402338 |
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 |
---|
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 |
|
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.
...
Run the peerconnection_server binary located at (openwebrtcnative-m72webrtc/out/DefaultPC_Streamer/webrtc-checkout).
./peerconnection_server
...