Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 1 | |
| 2 | This directory includes example programs intended for testing |
| 3 | and illustrating features of ccRTP and the ZRTP extension. |
| 4 | |
| 5 | Before using these programs make sure that ccRTP is up and |
| 6 | working 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 | |
| 23 | To start the demo application you may open two shell (command) windows |
| 24 | and start "zrtptest -r" in one window first, then start "zrtptest -s" |
| 25 | in the second window. The application use the port numbers 10002 thruogh |
| 26 | 10004 on localhost to communicate. |
| 27 | |