intERLab - AIT by langkunxg

VIEWS: 0 PAGES: 78

									CanalAVIST Site Manual

            July 2008

                 By
Prof. Kanchana Kanchanasut kk@cs.ait.ac.th
Mr. Pujan Srivastava pujan@ait.ac.th
Ms. Nisarat Tunsakul nisarat@ait.ac.th
             Table of Contents
•   Chapter 0 Introduction
•   Chapter 1 DVRelay (NREN Gateway)
•   Chapter 2 Sending Site
•   Chapter 3 Receiving Site
•   Chapter 4 Examples




07/16/08            intERLab
  Chapter 0
Introduction
           Chapter 0 Introduction
•   CanalAVIST Introduction
•   DVRelay
•   What is VClass?
•   Network Requirements




07/16/08              intERLab
              Introduction to CanalAVIST
•     CanalAVIST is a digital media channel on
      TEIN2 for seamless education.

•     This channel specialities in two flavours
           1. High Definition DVTS using DVRelay - [NREN Gateway].
           2. Vclass - an integrated tool-box




07/16/08                           intERLab                          5
                                       CanalAVIST Overview
                                                                                                jp.DVRelay.canalavist

                                                  cn.DVRelay.canalavist
                                                                                                            JP
                                                                                    kr.DVRelay.canalavist
                                                                        CN               KR

                        th.ru.studio1.canalavist
                       receive unicast DVTS at
                          6-30 Mbps via IPv4


  th.rm.studio1.canalavist                          hk.DVRelay.canalavist
   receive unicast DVTS                        vn.DVRelay.canalavist          HK*
   at 6-30 Mbps via IPv6
                                                         VN
                    th.rm.studio1.canalavist           th.ru.studio1.canalavist               PH
                                                                                            ph.DVRelay.canalavist
                      th.DVRelay.canalavist       TH

                      th.psu.studio3.canalavist                                                                              Send unicast DVTS
                                                                                                                            Send multicastDVTS
                                                                                                                        at 6-30 Mbps via IPv4/IPv6 to
                                                  MY                                                                        au.DVRelay.canalavist
                              my.DVRelay.canalavist        SG*
                                                                sg.DVRelay.canalavist



   th.psu.studio3.canalavist receive                                       ID                                           au.uniX.studio3.canalavist
 multicast DVTS at 6-30 Mbps via IPv6                           id.DVRelay.canalavist

                                                                 Relaying DVTS and send multicast at 30
                                                                     Mbps via IPv6 to TEIN2 network
Type of CanalAvist Studio
Studio1: Receive only
Studio2: Send only
Studio3: Send and Receive                                                                               AU
                                                                                              au.DVRelay.canalavist
    07/16/08
                      DVTS
• DVTS is an application for sending and
  receiving DV streams (~30 Mbps)‫‏‬


           IP   UDP   RTP          DV          DV     ...

                      DV Packet after encapsulation




07/16/08                    intERLab                        7
           DVTS Application




07/16/08          intERLab    8
               Simple Scenario




                    Port: 7990              Unicast/Multicast Address

                                                     IPv4 / IPv6

           sender




07/16/08                         intERLab                               9
           Problem in fore-said scenario
• Multicasting is not enabled in many network then
   Unicast (one receiver) is only choice



• IPv4 / IPv6 mismatching



• Limited Number of receiving points



07/16/08                  intERLab              10
           DVRelay: Systematic Approach




       Sender                        DVRelay


                7990             7990           8000         ff3e:140:2001:254:8000::1234
                                                                   IPv6 Multicast




                       root@linux:~ # dvrelay -P 7990 -h ff3e:140:2001:254:8000::1234




07/16/08                           intERLab                                         11
           Today, We will




07/16/08         intERLab   12
           DVRelay in reality on CanalAVIST


                                                   TEIN2
                    ThaiREN
vclass.serv.ait.ac.th                               NOC
                     AS3836
                                                  AS4621
                                           30 Mbps, 30 fps
                     30 Mbps, 30 fps       IPv6 Multicast
                     IPv4 Unicast
           AIT                                               INHAREN
          AS4767                                              AS17479
                                       4.5 Mbps, 5 fps
                                       Unicast/Multicast
                                       IPv4/IPv6




    07/16/08                           intERLab                         13
               What is Vclass?
• Integrated tool-box of e-Learning software (LMS,
  CMS, Authoring tool, Interactive audio/video
  conferencing system).

• Vclass enables us to organize distributed
  classroom and mobility to users.

• Based on Standard Protocols: SIP, SDP, RTP,
  HTTP, SMTP


07/16/08                  intERLab               14
           Vclass Application




07/16/08           intERLab     15
              Vclass Features
•   Class presence
•   Audio/Video conferencing
•   Slides
•   Instant Messaging
•   Shared Space
•   Whiteboard
•   Error reporting tool
•   Flexible GUI

07/16/08              intERLab   16
              Network Requirements
Open Ports Required

     – DVTS       7990-8100
     – SIP        5060
     – Stun       3478




07/16/08                intERLab     17
       Chapter 1
DVRelay (NREN Gateway)‫‏‬
           Hardware Requirements
OS               Linux (Ubuntu, SUSE, CentOS)‫‏‬
CPU              2.4 GHz+
Hard disk        20GB+
Memory           256 MB+
Network Interface




07/16/08               intERLab                  19
                Software Requirements
Pre-requisite
     – Linux with Kernel Source
     – libraw 1394
       http://www.canalavist.org/downloads/libraw1394-
       1.2.0.tar.gz
     – DVRelay software
       http://www.canalavist.org/downloads/dvrelay0.1f.tar.gz
Additional Tools:
           • tcpdump (for monitoring packets)‫‏‬
           • asmping, ssmping, ssmpingd



07/16/08                         intERLab                  20
                DVRelay Installations
1. Linux Kernel Source
     – apt-get install linux-source
     – cd /usr/src
     – tar -xjf linux-source-2.6.22.tar.bz2


2. Create Symbolic Links
     – cd /usr/include
     – sudo ln –s /usr/src/linux-source-
       2.6.22/drivers/ieee1394/dv1394.h
     – sudo ln –s /usr/src/linux-source-
       2.6.22/drivers/ieee1394/ieee1394-ioctl.h



07/16/08                        intERLab          21
                   DVRelay Installations
3. Libraw1394
     –     tar -xvzf libraw1394-1.2.0.tar.gz
     –     ./configure
     –     make
     –     make install
     –     make dev




07/16/08                           intERLab    22
                    DVRelay Installations
4. DVRelay
     –     tar -xvzf dvrelay0.1f.tar.gz
     –     cd dvrelay0.1.f
     –     ./configure
     –     make
     –     make install




07/16/08                            intERLab   23
              DVRelay Installations
• List of parameters
• root@dvr~:# dvrelay –H
   -v       : show version number
   -6       : use IPv6 (Default)
   -h hostname : send to host "hostname"
   -4       : use IPv4
   -f rate : send full frame by 1/rate
   -j group     : join mulitcast group "group"
                example, [-j 239.100.100.100]
   -M ifname : multicast join interface "ifname"
                example, [-M fxp0]




07/16/08                          intERLab         24
               DVRelay Installations
   -t ttl      : TTL for multicast
   -T          : write RTP seq num in trace file 'Relay_RTP_Seq_Trace.txt'
   -C          : use CBR Q for forwarding packets
   -P port     : RTP port number "port"
                        example, [-P 7990]
   -s number   : number of DIF blocks included in one packet
   -L          : show packet loss
   -R          : don't use RTCP
   -N          : do NOT send video
   -l number   : show packet loss, specify display granularity
   -H          : show this help message
   -p          : use PAL




07/16/08                           intERLab                             25
              DVRelay Operation
• -f rate    : Send reduced picture frame DV rate
                  of 1/"rate".
   Example:
    dvrelay -h 202.28.6.9 -f 2 (Half rate video)‫‏‬

• -t ttl : TTL for multicast packets.(default value is
              1).
  Example:
   dvrelay -h 239.100.100.100 -M fxp0 -t 20


07/16/08                   intERLab                      26
           DVRelay: Stream Combinations




07/16/08                intERLab          27
                    CanalAVIST Operation
Example 1:                                                                               AU




                                                                                          JP
       Sender                                    DVRelay


                         7990                7990            8000           ff3e:140:2001:254:8000::1234
                                    4U                                     6M

                    TH
                                                                                          SG




       root@linux:~ # dvrelay –4 -P 7990 -h ff3e:140:2001:254:8000::1234
                                                                                          KR




07/16/08                                       intERLab                                        28
                    CanalAVIST Operation
Example 1:                                                                          AU




                                                                                     JP
       Sender                                     DVRelay


                         7990                7990            8000      ff3e:140:2001:254:8000::1234
                                    6U                                6M

                    TH
                                                                                     SG




     root@linux:~ # dvrelay -P 7990 -h ff3e:140:2001:254:8000::1234
                                                                                     KR




07/16/08                                       intERLab                                   29
              CanalAVIST Operation
Example 2:


                                                             2001:3c8:e100:101c:208:a1ff:fe6d:7325
     Sender                               DVRelay


                   7990               7990            8000                 8000
                             4U                                6U

                                                                                         AU
              TH


                     root@linux:~ # dvrelay -4 -P 7990 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325




07/16/08                                  intERLab                                       30
              CanalAVIST Operation
Example 2:


                                                           2001:3c8:e100:101c:208:a1ff:fe6d:7325
     Sender                              DVRelay


                   7990              7990           8000
                            6U                               6U

                                                                                       AU
              TH



                     root@linux:~ # dvrelay -P 7990 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325




07/16/08                                 intERLab                                      31
                    CanalAVIST Operation
Example 3:


                                                                                2001:3c8:e100:101c:208:
     Sender                                                        DVRelay           a1ff:fe6d:7325

                        7990                                7990               8000
                                                                                      6U
                                                    4M
                   TH                                                                              AU




      root@linux:~ # dvrelay -4 -P 7990 -j 224.38.38.38 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325

07/16/08                                       intERLab                                        32
                      CanalAVIST Operation
 Example 3:


                                                                              2001:3c8:e100:101c:208:
         Sender                                                  DVRelay           a1ff:fe6d:7325

                           7990                           7990             8000
                                                                                  6U
                                                     6M

                                                                                               AU




root@linux:~ # dvrelay -P 7990 -j ff3e:140:2001:254:8000::1234 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325

 07/16/08                                        intERLab                                        33
           DVRelay Operation




07/16/08           intERLab    34
 Chapter 2
Sending Site
              Hardware Requirements
•   OS                     Windows XP
•   CPU                    2.4 GHz+ Dual Core
•   Hard disk              20GB+
•   Memory                 1 GB+
•   Network Interface
•   Web-cam
•   DV Camera
•   IEEE 1394 Firewire cable
•   Polycom Communicator (echo canceller) - Recommend
    http://www.polycom.com/usa/en/products/voice/desktop/communicat
    or_c100s.html



07/16/08                         intERLab                        36
               Software Requirements
Case 1: Sender uses only DVTS
     –     DVTS Software 0.0.1-1 from SFC Wide
           http://www.canalavist.org/downloads/dvts-setup-
           0.0.1-1.exe




07/16/08                        intERLab                     37
                   Software Requirements
Case 2: Sender uses DVTS & Mobile Vclass
     –        DVTS Software 0.0.1-1 from SFC Wide
              http://www.canalavist.org/downloads/dvts-setup-0.0.1-1.exe
     –        Java Run-time Environment 1.5+
              http://www.canalavist.org/downloads/jre-1_5_0_11-windows-
              i586-p.exe
     –        Webcam drivers
     –        Java Media Framework
              http://www.canalavist.org/downloads/jmf-2_1_1e-windows-
              i586.exe
     –        WBD Tool
           http://www.canalavist.org/downloads/wbd-1.0ucl4-win32.exe
     –        VLC Player
           http://www.canalavist.org/downloads/vlc-0.8.6f-win32.exe


07/16/08                              intERLab                             38
07/16/08
              Installing JMF 2.1.1e
• Please make sure that you webcam driver have been
  installed.
• Requires pc reboot after JRE installation
• Plug in your webcam, before installing JMF
• At the end of installation JMF will detect your audio/video
  capture devices
   – Plug in your webcam before installing JMF!
• In general, JMF requires reboot after installation. If you
  are using Windows XP, you may skip rebooting process.




07/16/08                      intERLab                     40
07/16/08
07/16/08
                Installing WBD
Just Click “Next”




07/16/08              intERLab   43
            Installing VLC Player
Just Click “Next”




07/16/08             intERLab       44
              Installing DVTS
Just Click “Next”




07/16/08             intERLab   45
     How to be Instructor (Sending Site)‫‏‬


                            1. http://canalavist.org/vclass
                            2. Enter instructor login & password




07/16/08              intERLab                              46
     How to be Instructor (Sending Site)‫‏‬

                                 Instructor prepares Mobile VClass
                                 session as if it was course content




07/16/08              intERLab                                   47
     How to be Instructor (Sending Site)‫‏‬




                    Start Mobile VClass sessions
                    directly from course content




07/16/08               intERLab                    48
07/16/08
07/16/08
     How to be Instructor (Sending Site)‫‏‬



                Audio controls




                Class presence

                                                            Sync pointer and/or slides




                 Group chat        Slides for this particular session




                                         Connectivity status




07/16/08                         intERLab                                                51
     How to be Instructor (Sending Site)‫‏‬




07/16/08              intERLab              52
     How to be Instructor (Sending Site)‫‏‬




           Click Run DVTS




07/16/08                    intERLab        53
     How to be Instructor (Sending Site)‫‏‬

                                                     3. DVRelay IP Address
                 1.Select IP Version

                                                                 4. Select DV Camera
           2.Outgoing Port is 7990
                                                              5.Select “Preview Monitor”



                            6.Select Lan Interface
                                                              7.Click on “Start Send”




07/16/08                                              intERLab                             54
  Chapter 3
Receiving Site
            Hardware Requirements
•   OS                    Windows XP
•   CPU                   2.4 GHz+
•   Hard disk             20GB+
•   Memory                1 GB+
•   Network Interface
•   Webcam
•   Polycom Communicator (echo canceller) - Recommend
    http://www.polycom.com/usa/en/products/voice/desktop/
    communicator_c100s.html




07/16/08                     intERLab                   56
             Software Requirements
Case 1: Receiver uses only DVTS
     – DVTS Software 0.0.1-1 from SFC Wide
       http://www.canalavist.org/downloads/dvts-setup-0.0.1-
       1.exe




07/16/08                      intERLab                    57
                Software Requirements
1.3.3 Software for Receiver
           1.3.3.2 Receiver uses DVTS & Mobile Vclass
                 »    DVTS Software 0.0.1-1 from SFC Wide
                      http://www.canalavist.org/downloads/dvts-setup-0.0.1-
                      1.exe
                 »    Java Run-time Environment 1.5+
                      http://www.canalavist.org/downloads/jre-1_5_0_11-
                      windows-i586-p.exe
                 »    Webcam drivers
                 »    Java Media Framework
                      http://www.canalavist.org/downloads/jmf-2_1_1e-
                      windows-i586.exe
                 »    WBD Tool
                     http://www.canalavist.org/downloads/wbd-1.0ucl4-
                      win32.exe
                 »    VLC Player
                     http://www.canalavist.org/downloads/vlc-0.8.6f-win32.exe

07/16/08                               intERLab                             58
                Installations
•   JRE
•   Webcam driver if any
•   JMF
•   WBD
•   VLC Player
•   DVTS

Note: For all detailed installations please
 see slide of Sending Site.
07/16/08               intERLab               59
     How to be Student (Receiving Site)‫‏‬


                           1. http://canalavist.org/vclass
                           2. Enter student login & password




07/16/08             intERLab                             60
     How to be Student (Receiving Site)‫‏‬




                   Go to Courses and Open the course




07/16/08              intERLab                         61
     How to be Student (Receiving Site)‫‏‬




                     Start Mobile VClass sessions
                     directly from course content




07/16/08             intERLab                       62
     How to be Student (Receiving Site)‫‏‬


                 1. Select course




                         2. Select session (if any overlapping
                         sessions exist)‫‏‬




07/16/08                    intERLab                             63
   How to be Instructor (Receiving Site)‫‏‬



           Session controls



                              Shared resources :
                              files and web casts (requires VLC player)‫‏‬




07/16/08                      intERLab                                     64
   How to be Instructor (Receiving Site)‫‏‬



               Audio controls




               Class presence

                                                           Sync pointer and/or slides




                Group chat        Slides for this particular session




                                        Connectivity status




07/16/08                        intERLab                                                65
     How to be Student (Receiving Site)‫‏‬




07/16/08             intERLab              66
     How to be Student (Receiving Site)‫‏‬




           Click Run DVTS




07/16/08                    intERLab       67
     How to be Student (Receiving Site)‫‏‬




                 1.Select IP Version


           2.Incoming Port is 8010        Multicast IP Address
                                                                               Click “Join”
               3. Click “Change”

                                       4.Select Lan Interface

                                                                5.Click on “Start Receive”




07/16/08                                       intERLab                                       68
Chapter 4
Examples
                                   Studio Type 1
One sender and one receiver
                                                                                        AIT@TH
root@linux:~ # dvrelay –4 -P 7990 -h ff3e:140:2001:254:8000::1234                     203.159.31.23




                  2001:388:7000:4000:214:22                                  th.DVRelay
                         ff:feb5:2c8c            TEIN2 Network                                  8010
                                                                              202.143.173.30
                                                                                                 4U
                       4U
                   7990               8000            Multicast IPv6         8000
                                              ff3e:140:2001:254:8000::1234
                            au.DVRelay                  Port: 8000
                            202.6.112.53                                     2001:3c8:e100:101c:208:a1
       NICTA@ AU
                                                                                    ff:fe6d:7325
      203.143.173.30




                               root@linux:~ # dvrelay -j ff3e:140:2001:254:8000::1234 -h 203.159.31.23


07/16/08                                             intERLab                                            70
             Studio Type 1
One sender and one receiver




                               Student
                                   Instructor




07/16/08            intERLab          71
                                         Studio Type 2
     One sender and many receivers
                                             root@linux:~ # dvrelay -j ff3e:140:2001:254:8000::1234 -h DesIP

                                      Konkuk@KR          kr.DVRelay
                                                                                                AIT@ TH
                                                                                              203.159.31.23

                                                      8010
                                                                  8000


                                                                                       th.DVRelay
                                                                                                        8010
                       2001:388:7000:4000:214:22                                      202.28.195.67
                              ff:feb5:2c8c            TEIN2 Network                                      4U
                                                                                       8000
                            4U
                           7990             8000           Multicast IPv6
                                                   ff3e:140:2001:254:8000::1234     2001:3c8:e100:101c:208:a1ff:fe6d:7325
                                  au.DVRelay                 Port: 8000
           NICTA@ AU              202.6.112.53
          203.143.173.30                                                                       4U
                                                                             8000              8010

                                                                                    sg.DVRelay           NUS@SG
root@linux:~ # dvrelay –4 -P 7990 -h ff3e:140:2001:254:8000::1234                  203.30.39.125
                                                                         2001:254:a001:0:28c:29ff:fe34:5147


     07/16/08                                             intERLab                                             72
             Studio Type 2
One sender and many receivers




                 Instructor 1
                                Students
07/16/08             intERLab              73
                                   Studio Type 3
Many senders and many receivers
                                Konkuk@KR          kr.DVRelay
                                                                                          AIT@ TH
                                                                                        203.159.31.23

                                                8010
                                                            8000


                                                                                  th.DVRelay       8010
                 2001:388:7000:4000:214:22                                       202.28.195.67
                        ff:feb5:2c8c            TEIN2 Network                                      4U
                                                                                8000
                      4U
                     7990             8000           Multicast IPv6
                                             ff3e:140:2001:254:8000::1234       2001:3c8:e100:101c:208:a1
                            au.DVRelay                 Port: 8000                      ff:fe6d:7325
     NICTA@ AU              202.6.112.53
    203.143.173.30                                                                        4U
                                                                         8000             8010

                                                                           sg.DVRelay               NUS@SG
                                                                          203.30.39.125
                                                                   2001:254:a001:0:28c:29ff:fe34
                                                                              :5147

07/16/08                                            intERLab                                                74
                                   Studio Type 3
Many senders and many receivers
                                Konkuk@KR          kr.DVRelay
                                                                                        AIT@ TH
                                                                                      203.159.31.23

                                                7990
                                                              8000


                                                                                th.DVRelay       8010
                 2001:388:7000:4000:214:22                                     202.28.195.67
                        ff:feb5:2c8c            TEIN2 Network                                    4U
                                                                              8000
                      4U
                     8010             8000           Multicast IPv6
                                             ff3e:140:2001:254:8000::1234     2001:3c8:e100:101c:208:a1
                            au.DVRelay                 Port: 8000                    ff:fe6d:7325
     NICTA@ AU              202.6.112.53
    203.143.173.30                                                                      4U
                                                                       8000             8010

                                                                         sg.DVRelay               NUS@SG
                                                                        203.30.39.125
                                                                 2001:254:a001:0:28c:29ff:fe34
                                                                            :5147

07/16/08                                            intERLab                                              75
                        Studio Type 3
• TEIN2 will be listening on same IPv6 multicast
  ff3e:140:2001:254:8000::1234 Port 8000 always
• No need to change VClass login
• Things need to be changed
     – I1 stop sending > I2 start sending DV stream
     – Ports will be swapped (I1)7990 <> (I2)8010
     – Command running at associated DVRelay (I1,I2 only)
       will be swappe

Remark:    I1 - Instructor 1
           I2 - Instructor 2


07/16/08                       intERLab                 76
             Studio Type 3
Many senders and many receivers



                                               Instructor 2



                                               Instructor 3




              Instructor 1          Students

07/16/08                 intERLab                    77
                            Thank You


http://www.canalavist.org



07/16/08                       intERLab   78

								
To top