diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-14 16:48:33 (GMT) |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-14 16:48:33 (GMT) |
commit | 1b5cb17fea651f88a44baafac02cb717fae151b7 (patch) | |
tree | a126dbc66409e13e3a80df12f5aeaf863398ad0c /TESTING | |
parent | 54742d00a169b5e5469b00eb9ad66685bb4d2e42 (diff) | |
download | soup-transcoding-proxy-1b5cb17fea651f88a44baafac02cb717fae151b7.zip soup-transcoding-proxy-1b5cb17fea651f88a44baafac02cb717fae151b7.tar.gz |
Add a TESTING document
Diffstat (limited to 'TESTING')
-rw-r--r-- | TESTING | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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. |