edu.virginia.cs.mng.hypercast.demo
Class MediaReceiver

java.lang.Object
  |
  +--edu.virginia.cs.mng.hypercast.demo.MediaReceiver

public class MediaReceiver
extends java.lang.Object

This class implemented an I_CallBack interface for MPEG stream transmission. The MediaReceiver itself doesn't provide media decoder. It receives the media package, and sends it to a specified local port (default 6666) through UDP. If there is a player sitting there listenning on this port, the player should be able to play with the stream. MpegTV is recommanded.


Field Summary
private static int DEFAULT_PORT
           
private  int localUdpPort
           
private static int MAX_PORT
           
private static int MIN_PORT
           
 
Constructor Summary
(package private) MediaReceiver()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void start(java.lang.String[] args)
          Start the MediaReceiver
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

private static final int DEFAULT_PORT

MIN_PORT

private static final int MIN_PORT

MAX_PORT

private static final int MAX_PORT

localUdpPort

private int localUdpPort
Constructor Detail

MediaReceiver

MediaReceiver()
Method Detail

main

public static void main(java.lang.String[] args)

start

public void start(java.lang.String[] args)
Start the MediaReceiver