CS778/878

Assignment #2

Due Midnight, Wednesday  March 3, 2004


Write a JMF-based two-party video/audio conference program with

the following descriptions:

NAME

vac -  Two-party video/audio conference
SYNOPSIS
vac   <mcast_group>   <mcast_port>    <unicast_port>  [clip]
DESCRIPTION

The program uses the multicast channel (<mcast_group>   <mcast_port>)
to advertise (e.g., sends every 2 seconds) its own  <unicast_port>
and to receive the other person's advertised <unicast_port>.

Once a person, A, receives  the  <unicast_port> of the other person, B,
then A sends (using unicast transmission) its video/audio to B
(i.e., to B's IP address at <unicast_port>) and plays the video/audio received from B.

If the optional argument clip is specified, then the clip's  video/audio are sent instead of capturing the video/audio  from the camera/mic.

Example:

A>  vac  224.111.111.111  2222  2224         
B>  vac  224.111.111.111  2222   2228  clip01mpg.mpg