summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams/Pluggable_Flow_Protocol/README
blob: 20365125206ea0ea79080c6624d78d483249c17a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// $Id$

Description
-----------

This directory contains a simple test in the form of a sender and a
receiver.  The test has the following features:

1. It tests the AVStreams Pluggable Protocol Framework
2. Shows a mechanism to pace data.

A new flow protocol called Time Stamp Flow Protocol is plugged into the AV Streams Framework 
using the Pluggable Protocol Framework and the ACE Service Configurator. This new protocol 
is compiled into a library and loaded when the AVStreams framework is initialized. When a 
frame is sent this protocol appends a timestamp to the data being sent.

Running the test
----------------

receiver
--------

receiver -f <output_filename>

-f <output_filename> -> The name of the file under which the received stream
                        data has to be stored (defaults to "output")

sender
------

sender [-f <filename>] [-p <protocol>] [-r <frame rate>] [-d] 


-f filename --> The file to be streamed to the receiver (defaults to
                "input"). 

-p protocol --> The protocol string could be UDP or TCP (defaults to
                UDP). But with the multicast address it should be UDP.

-r framerate--> The rate at which tha data frames need to be sent
                (defaults to 30 frames per second).

-d          --> Increament the TAO_debug_level for debug messages.


The test must be run with the naming service.  Check the run_test.pl
to see how to configure the test case.