From 1b5cb17fea651f88a44baafac02cb717fae151b7 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Mon, 14 Jul 2014 22:18:33 +0530 Subject: Add a TESTING document --- TESTING | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 TESTING diff --git a/TESTING b/TESTING new file mode 100644 index 0000000..f8ee09e --- /dev/null +++ b/TESTING @@ -0,0 +1,22 @@ +Testing latency +=============== + +The following commands can be used for testing the end-to-end latency of the server: + +Server: +------- + $ ./stp-server -p 8000 + +PUT stream: +----------- + $ gst-launch-1.0 -e videotestsrc is-live=TRUE ! videoscale ! \ + video/x-raw, height=120, width=160 ! clockoverlay font-desc="80px" ! tee name=t \ + t. ! queue ! theoraenc ! oggmux ! souphttpclientsink location="http://localhost:8000/somepath" \ + t. ! queue ! xvimagesink + +GET stream: +----------- + $ gst-launch-1.0 souphttpsrc location="http://localhost:8000/somepath" ! \ + decodebin ! videoconvert ! videoscale ! autovideosink + +Launch as many GET streams as necessary. For multiple PUT streams, just change "somepath" to something else. -- cgit v0.11.2-2-gd1dd