Versions Compared

Key

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

...

Code Block
languagebash
titleConsole output
root@raspberrypi0root@raspberrypi3-rdk-camera:~# ifconfig
eth0      Link encap:Ethernet  HWaddr B8:27:EB:87:67:91  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:8724 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8724 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:45521766 (41.47 KiB)  TX bytes:45521766 (41.47 KiB)

wlan0     Link encap:Ethernet  HWaddr B8:27:EB:2ED2:7232:2BC4  
          inet addr:192.168.43.246247  Bcast:192.168.43.255  Mask:255.255.255.0
          inet6 addr: fe80::ba27:ebff:fed2:32c4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2324 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4439 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:28933249 (23.81 KiB)  TX bytes:58875817 (5.76 KiB)


STEP 4:

Export Created Stream Name,Access key id, Secret access key and Region name in RPI target.

...

Code Block
languagebash
titleConsole output
root@raspberrypi0root@raspberrypi3-rdk-camera:~# export STREAM_NAME="Samplestream"
root@raspberrypi0root@raspberrypi3-rdk-camera:~# export ACCESS_KEY="XXXXXXXXXXXXX"
root@raspberrypi0root@raspberrypi3-rdk-camera:~# export SECRET_KEY="yyyyyyyyyyyyyyyyyyyyyyyyy"
root@raspberrypi0root@raspberrypi3-rdk-camera:~# export AWS_DEFAULT_REGION="eu-west-1"

...

Code Block
languagebash
titleConsole output
root@raspberrypi0root@raspberrypi3-rdk-camera:~# printenv
PLAYERSINKBIN_USE_WESTEROSSINK=1
WAYLAND_DISPLAY=wayland-0
SHELL=/bin/sh
TERM=xterm
LD_PRELOAD=/usr/lib/libopenmaxil.so:/usr/lib/libwayland-client.so.0
HUSHLOGIN=FALSE
USER=root
SYSTEMD_PAGER=/bin/cat
ACCESS_KEY=XXXXXXXXXXXXXX
STREAM_NAME=samplestream
MAIL=/var/spool/mail/root
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
AWS_DEFAULT_REGION=eu-west-1
SECRET_KEY=yyyyyyyyyyyyyyyyyyyyyyyy
PWD=/home/root
EDITOR=vi
PS1=\u@\h:\w\$ 
SHLVL=1
HOME=/home/root
LOGNAME=root
XDG_RUNTIME_DIR=/run
_=/usr/bin/printenv

...

Code Block
languagebash
titleConsole output
root@raspberrypi0root@raspberrypi3-rdk-camera:~# cvr-gst-rpi 
Conf file /etc/debug.ini open success
rdk_logger_init /etc/debug.ini Already Stack Level Logging processed... not processing again.
200430-10:37:21.578891 [mod=GSTREAMER, lvl=DEBUG] [tid=7305] /usr/src/debug/cvr/git-r0/git/cvr-gst-rpi/cvr_gst_rpi.c(176):Element linking succes
s for pipelin

...