summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/AVStreams/Modify_QoS/README
blob: 51ee6670ddf936ab3f2ef2991cb34588e04a72f9 (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
48
49
50
51
52
// $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.
3. Shows how we can modify the qos of a flow during run-time.

To demonstrate the qos modification teh receiver calls the modify_qos 
(in this test we are modifying the frame rate of the flow) method after 
receiving 20 frames (a number selected for no good reason!!).
This call in turn is propagated to the sender. The sender then re-initializes
the frame rate to the one requested by the receiver.

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.