blob: 42ecf8bb5e3bf37f9482be36a7d50a53cbb5f691 [file] [log] [blame]
Alexandre Lision51140e12013-12-02 10:54:09 -05001
2This directory includes example programs intended for testing
3and illustrating features of ccRTP and the ZRTP extension.
4
5Before using these programs make sure that ccRTP is up and
6working correctly.
7
8* zrtptest: is similar to ccrtptest in ccRTP demo directory. This
9 program shows how to use the class SymmetricZRTPSession instead
10 of RTPSession.
11
12 The first test shows that SymmetricZRTPSession is compatible to
13 RTPSession if it is used without specific initialization or configuration.
14
15 The second test initializes the ZRTP engine and starts it just before
16 sending or receiving RTP data. The enable ZRTP the test sets RTP in
17 bi-directional mode. This is the main difference to the first test case.
18
19 The third test shows how to use an application supplied callback class
20 to control message printout, switching to secure mode, displaying
21 the Short Authentication String (SAS).
22
23To start the demo application you may open two shell (command) windows
24and start "zrtptest -r" in one window first, then start "zrtptest -s"
25in the second window. The application use the port numbers 10002 thruogh
2610004 on localhost to communicate.
27