How to run Yima Client Program
- turn on the audio volume
- turn on the projector, which should be
turned off after the demo.
- press operate button on a remote-control
- if projector blinks a green light,
or emits other colors than green,
remote-control would not work.
- if you want to change to a hdtv screen,
press computer button on the remote-control
until hdtv/1080 message is shown
on the projected screen.
- if you are not sure how to launch server program,
go to next step.
- login to the remote server:
ssh -l yima imsc.nge.isi.edu
-
make sure that the kernel network buffer
has assigned enough space.
cd /proc/sys/net/core
echo 16777216 > rmem_max
echo 16777216 > wmem_max
echo 16777216 > rmem_default
echo 16777216 > wmem_default
- make sure that there's no yima server instances
running now
- make sure that server has enough space
to store log infos.
sometimes, server will be crashed
when there's no space available.
the primary reason why it usually lacks in
storage space is that log file
is growing continuously because it does not erase in time.
please erase log file
whenever you run the server program.
- go to the yima server directory mentioned above
- go to the yima server program directory: cd SCH_SYSMOND
- run yima server program: ./yima2_server config &
- get the root privilege: su -
- go to the yima server directory mentioned above
- go to the rtsp server program directory: cd RTSPS
- run rtsp server program: ./rtsps config &
- make sure that there's no yima client instances and
both ALSA driver and hammerfall module are loaded correctly.
- run audio client
- open a new terminal
- go to ~yima/DEMO/msoc1/
- type ./yima
- if you found segmentation fault,
ALSA driver might not be properly loaded.
- run video client
- open a new terminal
- go to ~yima/DEMO/msoc2/
- type ./yima
-
type list to see the list of stream list which can be served.
- type select
[number of a specific rtsp url to choose the stream to see].
- url you chose should appear on the audio client yima prompt.
if not, close the whole clients and go to the step 4.
- type play to start playback.
- if there's a trigger message on the client yima prompt,
after that, it will show the current consuming speed with percentage.
otherwise, you should close all clients and go to step 4.
-
finish the demo
- type stop.
- wait 1-2 seconds.
- type exit.
- make sure
there are no yima process instances.
- turn off the projector
- turn off the audio volume