HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea
-
Upload
teresa-boone -
Category
Documents
-
view
214 -
download
0
description
Transcript of HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea
![Page 2: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/2.jpg)
Outline• HAT ?• Software design • Implementation details• Experimental result• Future work
![Page 3: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/3.jpg)
What’s HAT ?
![Page 4: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/4.jpg)
HAT ?• High-quality Audio conferencing Tool
– Audio conferencing tool using mp3 codec• Variable bitrates: e.g., 32, 80, 128kbps
– Supports IPv4 and IPv6 : unicast and multicast– Supported OS : Windows 2000
• Working on MSR IPv6 stack• Will work on MSDN IPv6 stack
![Page 5: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/5.jpg)
Software Design
![Page 6: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/6.jpg)
Software ComponentsSounddevice
Encoderprocess
Stdin
RTP send
Wave data
PIPE
Stdout
Mic process
rawPCM
voice
RTPRecvprocess
Stdout
PIPE mp3 datamp3 data
Sounddevice
sound
Stdin
Decoderprocess
RTP headerRTP header
mp3 datamp3 data
RTP headerRTP header
Sender Receiver
![Page 7: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/7.jpg)
At Sender• MIC process
– audio signal WAV file• Encoder process
– WAV file MP3 data ( LAME )– MP3 data RTP payload – Send it as a UDP packet
![Page 8: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/8.jpg)
At Receiver• Receiver process
– RTP data MP3 data– Maintain participant information and statistics
in source database with RTCP
• Decoder process– MP3 data sound device ( mpg123 )
![Page 9: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/9.jpg)
Implementation Details
![Page 10: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/10.jpg)
Inter-Process Comm.
-check the condition of every process dies or not
-If no response, show error msg.
![Page 11: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/11.jpg)
Statistics
![Page 12: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/12.jpg)
Options
- Adjust bitrate
- Adjust system performance
- Input participant name
![Page 13: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/13.jpg)
Message Exchange
UI
Receiver
1. Cre
ate P
roce
ss
ASK_ALIV
E
ALIVE,
SESS
ION_IN
FO
Encoder
2. Create Process
3 ASK_SSRC, Source Report
4.MY_SSRC
ASK_ALIVEALIVE
2.AFX_BEGIN_THREAD MIC
PIPE
PIPEPIPE 5._ popen
Decoder
![Page 14: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/14.jpg)
Experimental result & Future work
![Page 15: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/15.jpg)
Experiment environmentETRI
Daejeon
SNU Seoul
APAN-KRAPAN-KR(KOREN)(KOREN)Native Native IPv6 NetworkIPv6 Network
![Page 16: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/16.jpg)
Result – bandwidth• PCM (Pulse Code Modulation )
– sample 16bit, two stereo, sampling rate 44.1kHz
– 16 * 141000 * 2 =~ 1.3 Mbps • MP3 encoding
– sample 16bit, two stereo, sampling rate 44.1kHz
– 128 – 256 kbps
![Page 17: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/17.jpg)
Result – delay• Required maximum delay : 200 ~
300ms• Delay of HAT : 800 ~ 900ms• Solution to minimize delay
– Optimization of mpg123 for HAT tool• Delete useless options
– Optimization for real-time data• Modify buffer size, frame size
![Page 18: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/18.jpg)
Future Work• Reduce end-to-end delay• Develop MSDN IPv6 version
• Welcome your participation in experiment of HAT and collaboration
• You can get more information from http://mmlab.snu.ac.kr/~hat
![Page 19: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea](https://reader036.fdocuments.us/reader036/viewer/2022083119/5a4d1b0c7f8b9ab05998bc70/html5/thumbnails/19.jpg)