summaryrefslogtreecommitdiffstats
path: root/tests/icles/dccp/README
diff options
context:
space:
mode:
authorLeandro Melo de Sales <leandroal@gmail.com>2008-08-21 13:22:38 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-08-21 13:22:38 +0000
commit605482a1a852a42aba6263811d7fa57b110728ba (patch)
tree14a29b92472bd9ebfc207581f54b307967842e29 /tests/icles/dccp/README
parentfd66868120ad27860d140d1a54040dcbffc014a5 (diff)
downloadgst-plugins-bad-605482a1a852a42aba6263811d7fa57b110728ba.tar.gz
gst-plugins-bad-605482a1a852a42aba6263811d7fa57b110728ba.tar.bz2
gst-plugins-bad-605482a1a852a42aba6263811d7fa57b110728ba.zip
Add dccp plugin. Fixes #542390.
Original commit message from CVS: patch by: Leandro Melo de Sales <leandroal@gmail.com> * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.args: * docs/plugins/gst-plugins-bad-plugins.hierarchy: * docs/plugins/gst-plugins-bad-plugins.interfaces: * docs/plugins/gst-plugins-bad-plugins.prerequisites: * docs/plugins/gst-plugins-bad-plugins.signals: * docs/plugins/inspect/plugin-dccp.xml: * gst/dccp/Makefile.am: * gst/dccp/gstdccp.c: * gst/dccp/gstdccp.h: * gst/dccp/gstdccpclientsink.c: * gst/dccp/gstdccpclientsink.h: * gst/dccp/gstdccpclientsrc.c: * gst/dccp/gstdccpclientsrc.h: * gst/dccp/gstdccpplugin.c: * gst/dccp/gstdccpserversink.c: * gst/dccp/gstdccpserversink.h: * gst/dccp/gstdccpserversrc.c: * gst/dccp/gstdccpserversrc.h: * tests/icles/dccp/README: * tests/icles/dccp/call/README: * tests/icles/dccp/call/DCCPClient.c: * tests/icles/dccp/call/DCCPServer.c: * tests/icles/dccp/file/DCCPClientSaveFile.c: * tests/icles/dccp/file/DCCPServerSendFile.c: * tests/icles/dccp/mic/DCCPClientPlayMic.c: * tests/icles/dccp/mic/DCCPServerMic.c: * tests/icles/dccp/mp3/DCCPClientPlayMP3.c: * tests/icles/dccp/mp3/DCCPServerSendMP3.c: * tests/icles/dccp/mp3Speex/DCCPClientPlaySpeexMP3.c: * tests/icles/dccp/mp3Speex/DCCPServerSendSpeexMP3.c: * tests/icles/dccp/mp3Stream/DCCPClientPlayMP3Stream.c: * tests/icles/dccp/mp3Stream/DCCPServerSendMP3Stream.c: Add dccp plugin. Fixes #542390.
Diffstat (limited to 'tests/icles/dccp/README')
-rw-r--r--tests/icles/dccp/README52
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/icles/dccp/README b/tests/icles/dccp/README
new file mode 100644
index 00000000..e76ead5e
--- /dev/null
+++ b/tests/icles/dccp/README
@@ -0,0 +1,52 @@
+Applications
+
+If you want to compile the applications you will need to run this command-line:
+gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) <applicationName>.c -o <applicationName>
+
+To run:
+./<applicationName>
+
+
+Command-line
+
+###### Pipe to transmit a file #
+
+* Server:
+gst-launch -v filesrc location=file ! dccpserversink port=9011 ccid=2
+
+* Client:
+gst-launch -v dccpclientsrc host=localhost port=9011 ccid=2 ! filesink location=fileDist
+
+###### Pipe to transmit from the microphone #
+
+* Server:
+gst-launch -v alsasrc ! dccpserversink port=9011 ccid=2
+
+* Client:
+gst-launch -v dccpclientsrc host=localhost port=9011 ccid=2 caps="audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2" ! alsasink
+
+###### Pipe to transmit a MP3 #
+
+* Server:
+gst-launch -v filesrc location=music.mp3 ! mad ! dccpserversink port=9011 ccid=2
+
+* Client:
+gst-launch -v dccpclientsrc host=localhost port=9011 ccid=2 caps="audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)32, depth=(int)32, rate=(int)44100, channels=(int)2" ! alsasink
+
+###### Pipe to stream a MP3 #
+
+* Server:
+gst-launch -v filesrc location=music.mp3 ! mp3parse ! dccpserversink port=9011 ccid=2
+
+* Client:
+gst-launch -v dccpclientsrc host=localhost port=9011 ccid=2 ! decodebin ! alsasink
+-- We also tested with mpg123, to use it: mpg123 dccp://localhost:9011
+
+###### Pipe to transmit a MP3 with dccp, speex and rtp #
+
+* Server:
+gst-launch -v filesrc location=music.mp3 ! mad ! audioconvert ! capsfilter caps="audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)44100, channels=(int)1" ! speexenc ! rtpspeexpay ! dccpserversink port=9011 ccid=2
+
+* Client:
+gst-launch -v dccpclientsrc host=localhost port=9011 ccid=2 caps="application/x-rtp, media=(string)audio, payload=(int)110, clock-rate=(int)44100, encoding-name=(string)SPEEX, ssrc=(guint)152981653, clock-base=(guint)1553719649, seqnum-base=(guint)3680, encoding-params=(string)1" ! rtpspeexdepay ! speexdec ! alsasink
+