From 605482a1a852a42aba6263811d7fa57b110728ba Mon Sep 17 00:00:00 2001 From: Leandro Melo de Sales Date: Thu, 21 Aug 2008 13:22:38 +0000 Subject: Add dccp plugin. Fixes #542390. Original commit message from CVS: patch by: Leandro Melo de Sales * 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. --- tests/icles/dccp/README | 52 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 tests/icles/dccp/README (limited to 'tests/icles/dccp/README') 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) .c -o + +To run: +./ + + +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 + -- cgit v1.2.1