HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

19
HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea [email protected]

description

What’s HAT ?

Transcript of HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

Page 1: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

HAT development and experiment

2002. 1. 24.

Kyoungae Kim, SNU [email protected]

Page 2: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

Outline• HAT ?• Software design • Implementation details• Experimental result• Future work

Page 3: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

What’s HAT ?

Page 4: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

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

Software Design

Page 6: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

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

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

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

Implementation Details

Page 10: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

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

Statistics

Page 12: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

Options

- Adjust bitrate

- Adjust system performance

- Input participant name

Page 13: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

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

Experimental result & Future work

Page 15: HAT development and experiment 2002. 1. 24. Kyoungae Kim, SNU Korea

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

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

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

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