Upload
patrick-banks
View
219
Download
0
Tags:
Embed Size (px)
Citation preview
CanalAVIST Site Manual
July 2008
By
Prof. Kanchana Kanchanasut [email protected]
Mr. Pujan Srivastava [email protected]
Ms. Nisarat Tunsakul [email protected]
07/16/08 intERLab
Table of Contents
• Chapter 0 Introduction
• Chapter 1 DVRelay (NREN Gateway)
• Chapter 2 Sending Site
• Chapter 3 Receiving Site
• Chapter 4 Examples
Chapter 0Chapter 0IntroductionIntroduction
07/16/08 intERLab
Chapter 0 Introduction
• CanalAVIST Introduction
• DVRelay
• What is VClass?
• Network Requirements
07/16/08 intERLab 5
Introduction to CanalAVIST• CanalAVIST is a digital media channel on
TEIN2 for seamless education.
• This channel specialities in two flavours1. High Definition DVTS using DVRelay - [NREN Gateway].
2. Vclass - an integrated tool-box
07/16/08 au.DVRelay.canalavist
Type of CanalAvist StudioStudio1: Receive onlyStudio2: Send onlyStudio3: Send and Receive
ID
AU
KR
PHVN
MYSG*
Send unicast DVTS at 6-30 Mbps via IPv4/IPv6 to au.DVRelay.canalavist
Relaying DVTS and send multicast at 30 Mbps via IPv6 to TEIN2 network
CN
HK*
JP
th.psu.studio3.canalavist receive multicast DVTS at 6-30 Mbps via IPv6
th.rm.studio1.canalavist receive unicast DVTS at 6-30 Mbps via IPv6
th.ru.studio1.canalavist receive unicast DVTS at 6-30 Mbps via IPv4
th.ru.studio1.canalavistth.rm.studio1.canalavistph.DVRelay.canalavist
cn.DVRelay.canalavist
vn.DVRelay.canalavist
sg.DVRelay.canalavist
id.DVRelay.canalavist
jp.DVRelay.canalavist
kr.DVRelay.canalavist
hk.DVRelay.canalavist
th.DVRelay.canalavist
my.DVRelay.canalavist
TH
th.psu.studio3.canalavist
AU
SG*
VNPH
CN
ID
TH
MY
HK*
KR
JP
Send multicast DVTS at 6-30 Mbps via IPv4/IPv6 to au.DVRelay.canalavist
au.uniX.studio3.canalavist
CanalAVIST Overview
07/16/08 intERLab 7
DVTS
IP UDP RTP DV DV ...
DV Packet after encapsulation
• DVTS is an application for sending and receiving DV streams (~30 Mbps)
07/16/08 intERLab 8
DVTS Application
07/16/08 intERLab 9
Simple Scenario
Port: 7990 Unicast/Multicast Address
IPv4 / IPv6
sender
07/16/08 intERLab 10
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 11
DVRelay: Systematic Approach
root@linux:~ # dvrelay -P 7990 -h ff3e:140:2001:254:8000::1234
7990 7990 8000
DVRelaySender
ff3e:140:2001:254:8000::1234
IPv6 Multicast
07/16/08 intERLab 12
Today, We will
07/16/08 intERLab 13
DVRelay in reality on CanalAVIST
ThaiRENAS3836
ThaiRENAS3836
TEIN2 NOC
AS4621
TEIN2 NOC
AS4621
AITAS4767
AITAS4767
INHARENAS17479
INHARENAS17479
vclass.serv.ait.ac.th
4.5 Mbps, 5 fpsUnicast/MulticastIPv4/IPv6
30 Mbps, 30 fpsIPv6 Multicast30 Mbps, 30 fps
IPv4 Unicast
07/16/08 intERLab 14
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 15
Vclass Application
07/16/08 intERLab 16
Vclass Features
• Class presence
• Audio/Video conferencing
• Slides
• Instant Messaging
• Shared Space
• Whiteboard
• Error reporting tool
• Flexible GUI
07/16/08 intERLab 17
Network RequirementsOpen Ports Required
– DVTS 7990-8100– SIP 5060– Stun 3478
Chapter 1Chapter 1DVRelay (NREN Gateway)DVRelay (NREN Gateway)
07/16/08 intERLab 19
Hardware RequirementsOS Linux (Ubuntu, SUSE, CentOS)
CPU 2.4 GHz+
Hard disk 20GB+
Memory 256 MB+
Network Interface
07/16/08 intERLab 20
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 21
DVRelay Installations1. 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 22
DVRelay Installations3. Libraw1394
– tar -xvzf libraw1394-1.2.0.tar.gz– ./configure– make– make install– make dev
07/16/08 intERLab 23
DVRelay Installations4. DVRelay
– tar -xvzf dvrelay0.1f.tar.gz– cd dvrelay0.1.f– ./configure– make– make install
07/16/08 intERLab 24
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 25
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 26
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 27
DVRelay: Stream Combinations
07/16/08 intERLab 28
CanalAVIST Operation
Example 1:
root@linux:~ # dvrelay –4 -P 7990 -h ff3e:140:2001:254:8000::1234
7990 7990 8000
DVRelaySender
ff3e:140:2001:254:8000::1234
4U 6M
AU
JP
SG
KR
TH
07/16/08 intERLab 29
CanalAVIST Operation
root@linux:~ # dvrelay -P 7990 -h ff3e:140:2001:254:8000::1234
Example 1:
7990 7990 8000
DVRelaySender
6U 6M
AU
JP
SG
KR
TH
ff3e:140:2001:254:8000::1234
07/16/08 intERLab 30
CanalAVIST Operation
Example 2:
root@linux:~ # dvrelay -4 -P 7990 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325
7990 7990 8000
DVRelaySender2001:3c8:e100:101c:208:a1ff:fe6d:7325
4U 6U
8000
TH AU
07/16/08 intERLab 31
CanalAVIST Operation
Example 2:
root@linux:~ # dvrelay -P 7990 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325
7990 7990 8000
DVRelaySender 2001:3c8:e100:101c:208:a1ff:fe6d:7325
6U 6U
TH AU
07/16/08 intERLab 32
CanalAVIST Operation
Example 3:
root@linux:~ # dvrelay -4 -P 7990 -j 224.38.38.38 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325
7990 7990 8000
DVRelaySender2001:3c8:e100:101c:208:
a1ff:fe6d:7325
4M6U
TH AU
07/16/08 intERLab 33
CanalAVIST Operation
Example 3:
root@linux:~ # dvrelay -P 7990 -j ff3e:140:2001:254:8000::1234 -h 2001:3c8:e100:101c:208:a1ff:fe6d:7325
7990 7990 8000
DVRelaySender
6M6U
2001:3c8:e100:101c:208:a1ff:fe6d:7325
AU
07/16/08 intERLab 34
DVRelay Operation
Chapter 2Chapter 2Sending SiteSending Site
07/16/08 intERLab 36
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/communicator_c100s.html
07/16/08 intERLab 37
Software RequirementsCase 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 38
Software RequirementsCase 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 39
Installing JRE
07/16/08 intERLab 40
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 41
Installing JMF 2.1.1e
Windows XP users : No need to reboot.
07/16/08 intERLab 42
Installing JMF 2.1.1eManually Detecting Web Camera
07/16/08 intERLab 43
Installing WBDJust Click “Next”
07/16/08 intERLab 44
Installing VLC PlayerJust Click “Next”
07/16/08 intERLab 45
Installing DVTSJust Click “Next”
07/16/08 intERLab 46
How to be Instructor (Sending Site)
1. http://canalavist.org/vclass2. Enter instructor login & password
07/16/08 intERLab 47
How to be Instructor (Sending Site)
Instructor prepares Mobile VClass session as if it was course content
07/16/08 intERLab 48
How to be Instructor (Sending Site)
Start Mobile VClass sessions directly from course content
07/16/08 intERLab 49
How to be Instructor (Sending Site)
1. Select course
2. Select session (if any overlapping sessions exist)
07/16/08 intERLab 50
How to be Instructor (Sending Site)
Shared resources : files and web casts (requires VLC player)
Session controls
07/16/08 intERLab 51
Audio controls
Connectivity status
Sync pointer and/or slides
Class presence
Group chat Slides for this particular session
How to be Instructor (Sending Site)
07/16/08 intERLab 52
How to be Instructor (Sending Site)
07/16/08 intERLab 53
Click Run DVTS
How to be Instructor (Sending Site)
07/16/08 intERLab 54
1.Select IP Version
2.Outgoing Port is 7990
3. DVRelay IP Address
4. Select DV Camera
5.Select “Preview Monitor”
6.Select Lan Interface7.Click on “Start Send”
How to be Instructor (Sending Site)
Chapter 3Chapter 3Receiving SiteReceiving Site
07/16/08 intERLab 56
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 57
Software RequirementsCase 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 58
Software Requirements1.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 59
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 60
How to be Student (Receiving Site)
1. http://canalavist.org/vclass2. Enter student login & password
07/16/08 intERLab 61
Go to Courses and Open the course
How to be Student (Receiving Site)
07/16/08 intERLab 62
Start Mobile VClass sessions directly from course content
How to be Student (Receiving Site)
07/16/08 intERLab 63
1. Select course
2. Select session (if any overlapping sessions exist)
How to be Student (Receiving Site)
07/16/08 intERLab 64
How to be Instructor (Receiving Site)
Shared resources : files and web casts (requires VLC player)
Session controls
07/16/08 intERLab 65
Audio controls
Connectivity status
Sync pointer and/or slides
Class presence
Group chat Slides for this particular session
How to be Instructor (Receiving Site)
07/16/08 intERLab 66
How to be Student (Receiving Site)
07/16/08 intERLab 67
Click Run DVTS
How to be Student (Receiving Site)
07/16/08 intERLab 68
1.Select IP Version
2.Incoming Port is 8010
3. Click “Change”
Multicast IP Address
Click “Join”
4.Select Lan Interface
5.Click on “Start Receive”
How to be Student (Receiving Site)
Chapter 4Chapter 4ExamplesExamples
07/16/08 intERLab 70
Studio Type 1
One sender and one receiver
8000
2001:388:7000:4000:214:22ff:feb5:2c8c
7990
TEIN2 Network
Multicast IPv6ff3e:140:2001:254:8000::1234
Port: 8000
th.DVRelay202.143.173.30
8000
8010
NICTA@ AU 203.143.173.30
au.DVRelay202.6.112.53 2001:3c8:e100:101c:208:a
1ff:fe6d:7325
4U 4U
root@linux:~ # dvrelay –4 -P 7990 -h ff3e:140:2001:254:8000::1234
root@linux:~ # dvrelay -j ff3e:140:2001:254:8000::1234 -h 203.159.31.23
07/16/08 intERLab 71
Studio Type 1
One sender and one receiver
InstructorStudent
07/16/08 intERLab 72
Studio Type 2
One sender and many receivers
AIT@ TH203.159.31.23
80007990
TEIN2 Network
Multicast IPv6ff3e:140:2001:254:8000::1234
Port: 8000
th.DVRelay202.28.195.67
8000
8010
kr.DVRelay
8000
Konkuk@KR
8010
sg.DVRelay203.30.39.125
2001:254:a001:0:28c:29ff:fe34:5147
NUS@SG
80108000
4U
4U
NICTA@ AU 203.143.173.30
2001:388:7000:4000:214:22ff:feb5:2c8c
au.DVRelay202.6.112.53
4U
2001:3c8:e100:101c:208:a1ff:fe6d:7325
root@linux:~ # dvrelay –4 -P 7990 -h ff3e:140:2001:254:8000::1234
root@linux:~ # dvrelay -j ff3e:140:2001:254:8000::1234 -h DesIP
07/16/08 intERLab 73
Studio Type 2
One sender and many receivers
Instructor 1Students
07/16/08 intERLab 74
Studio Type 3
Many senders and many receivers
AIT@ TH203.159.31.23
80007990
TEIN2 Network
Multicast IPv6ff3e:140:2001:254:8000::1234
Port: 8000
th.DVRelay202.28.195.67
8000
8010
kr.DVRelay
8000
Konkuk@KR
8010
sg.DVRelay203.30.39.125
2001:254:a001:0:28c:29ff:fe34:5147
NUS@SG
80108000
4U
4U
NICTA@ AU 203.143.173.30
2001:388:7000:4000:214:22ff:feb5:2c8c
au.DVRelay202.6.112.53
4U
2001:3c8:e100:101c:208:a1ff:fe6d:7325
07/16/08 intERLab 75
Studio Type 3
Many senders and many receivers
AIT@ TH203.159.31.23
80008010
TEIN2 Network
Multicast IPv6ff3e:140:2001:254:8000::1234
Port: 8000
th.DVRelay202.28.195.67
8000
8010
kr.DVRelay
8000
Konkuk@KR
7990
sg.DVRelay203.30.39.125
2001:254:a001:0:28c:29ff:fe34:5147
NUS@SG
80108000
4U
4U
NICTA@ AU 203.143.173.30
2001:388:7000:4000:214:22ff:feb5:2c8c
au.DVRelay202.6.112.53
4U
2001:3c8:e100:101c:208:a1ff:fe6d:7325
07/16/08 intERLab 76
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 77
Studio Type 3
Many senders and many receivers
Instructor 1 Students
Instructor 2
Instructor 3
07/16/08 intERLab 78
Thank You
http://www.canalavist.org