rtp-examples: fix ascii-art
authorStefan Kost <ensonic@users.sf.net>
Tue, 22 Feb 2011 12:50:59 +0000 (14:50 +0200)
committerStefan Kost <ensonic@users.sf.net>
Tue, 22 Feb 2011 12:54:28 +0000 (14:54 +0200)
Some boxes where misaligned due to long "audiotetssrc" name. Trim trailing
whitespace.

tests/examples/rtp/client-H264-PCMA.sh
tests/examples/rtp/client-PCMA.sh
tests/examples/rtp/server-alsasrc-PCMA.sh
tests/examples/rtp/server-v4l2-H263p-alsasrc-AMR.sh
tests/examples/rtp/server-v4l2-H264-alsasrc-PCMA.sh

index 9f007f1..7b104ab 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# A simple RTP receiver 
+# A simple RTP receiver
 #
 #  receives H264 encoded RTP video on port 5000, RTCP is received on  port 5001.
 #  the receiver RTCP reports are sent to port 5005
 #  RTP        |udpsrc |      | rtpbin   |     |h264depay|   |h264dec|   |xvimagesink|
 #  port=5000  |      src->recv_rtp recv_rtp->sink     src->sink   src->sink         |
 #             '-------'      |          |     '---------'   '-------'   '-----------'
-#                            |          |      
+#                            |          |
 #                            |          |     .-------.
 #                            |          |     |udpsink|  RTCP
 #                            |    send_rtcp->sink     | port=5005
 #             .-------.      |          |     '-------' sync=false
 #  RTCP       |udpsrc |      |          |               async=false
-#  port=5001  |     src->recv_rtcp      |                       
-#             '-------'      |          |              
+#  port=5001  |     src->recv_rtcp      |
+#             '-------'      |          |
 #                            |          |
-#             .-------.      |          |     .---------.   .-------.   .--------.
+#             .-------.      |          |     .---------.   .-------.   .-------------.
 #  RTP        |udpsrc |      | rtpbin   |     |pcmadepay|   |alawdec|   |autoaudiosink|
-#  port=5002  |      src->recv_rtp recv_rtp->sink     src->sink   src->sink      |
-#             '-------'      |          |     '---------'   '-------'   '--------'
-#                            |          |      
+#  port=5002  |      src->recv_rtp recv_rtp->sink     src->sink   src->sink           |
+#             '-------'      |          |     '---------'   '-------'   '-------------'
+#                            |          |
 #                            |          |     .-------.
 #                            |          |     |udpsink|  RTCP
 #                            |    send_rtcp->sink     | port=5007
 #             .-------.      |          |     '-------' sync=false
 #  RTCP       |udpsrc |      |          |               async=false
-#  port=5003  |     src->recv_rtcp      |                       
-#             '-------'      '----------'              
+#  port=5003  |     src->recv_rtcp      |
+#             '-------'      '----------'
 
 # the destination machine to send RTCP to. This is the address of the sender and
 # is used to send back the RTCP reports of this receiver. If the data is sent
index b2c92f7..aad6502 100755 (executable)
@@ -1,22 +1,22 @@
 #!/bin/sh
 #
-# A simple RTP receiver 
+# A simple RTP receiver
 #
 #  receives alaw encoded RTP audio on port 5002, RTCP is received on  port 5003.
 #  the receiver RTCP reports are sent to port 5007
 #
-#             .-------.      .----------.     .---------.   .-------.   .--------.
+#             .-------.      .----------.     .---------.   .-------.   .-------------.
 #  RTP        |udpsrc |      | rtpbin   |     |pcmadepay|   |alawdec|   |autoaudiosink|
-#  port=5002  |      src->recv_rtp recv_rtp->sink     src->sink   src->sink      |
-#             '-------'      |          |     '---------'   '-------'   '--------'
-#                            |          |      
+#  port=5002  |      src->recv_rtp recv_rtp->sink     src->sink   src->sink           |
+#             '-------'      |          |     '---------'   '-------'   '-------------'
+#                            |          |
 #                            |          |     .-------.
 #                            |          |     |udpsink|  RTCP
 #                            |    send_rtcp->sink     | port=5007
 #             .-------.      |          |     '-------' sync=false
 #  RTCP       |udpsrc |      |          |               async=false
-#  port=5003  |     src->recv_rtcp      |                       
-#             '-------'      '----------'              
+#  port=5003  |     src->recv_rtcp      |
+#             '-------'      '----------'
 
 
 # the caps of the sender RTP stream. This is usually negotiated out of band with
index c0fe0e7..5340434 100755 (executable)
@@ -1,22 +1,22 @@
 #!/bin/sh
 #
-# A simple RTP server 
+# A simple RTP server
 #  sends the output of autoaudiosrc as alaw encoded RTP on port 5002, RTCP is sent on
 #  port 5003. The destination is 127.0.0.1.
 #  the receiver RTCP reports are received on port 5007
 #
-# .-------.    .-------.    .-------.      .----------.     .-------.
-# |autoaudiosrc|    |alawenc|    |pcmapay|      | rtpbin   |     |udpsink|  RTP
-# |      src->sink    src->sink    src->send_rtp send_rtp->sink     | port=5002
-# '-------'    '-------'    '-------'      |          |     '-------'
-#                                          |          |      
-#                                          |          |     .-------.
-#                                          |          |     |udpsink|  RTCP
-#                                          |    send_rtcp->sink     | port=5003
-#                           .-------.      |          |     '-------' sync=false
-#                RTCP       |udpsrc |      |          |               async=false
-#              port=5007    |     src->recv_rtcp      |                       
-#                           '-------'      '----------'              
+# .--------.    .-------.    .-------.      .----------.     .-------.
+# |audiosrc|    |alawenc|    |pcmapay|      | rtpbin   |     |udpsink|  RTP
+# |       src->sink    src->sink    src->send_rtp send_rtp->sink     | port=5002
+# '--------'    '-------'    '-------'      |          |     '-------'
+#                                           |          |
+#                                           |          |     .-------.
+#                                           |          |     |udpsink|  RTCP
+#                                           |    send_rtcp->sink     | port=5003
+#                            .-------.      |          |     '-------' sync=false
+#                 RTCP       |udpsrc |      |          |               async=false
+#               port=5007    |     src->recv_rtcp      |
+#                            '-------'      '----------'
 
 # change this to send the RTP data and RTCP to another host
 DEST=127.0.0.1
index 2a8dc5c..12439fe 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# A simple RTP server 
+# A simple RTP server
 #
 
 # change these to change the server sync. This causes the server to send the
index 910b69e..7ccb4f1 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# A simple RTP server 
+# A simple RTP server
 #  sends the output of v4l2src as h264 encoded RTP on port 5000, RTCP is sent on
 #  port 5001. The destination is 127.0.0.1.
 #  the video receiver RTCP reports are received on port 5005
@@ -8,31 +8,31 @@
 #  port 5003. The destination is 127.0.0.1.
 #  the receiver RTCP reports are received on port 5007
 #
-# .-------.    .-------.    .-------.      .----------.     .-------.
-# |v4lssrc|    |h264enc|    |h264pay|      | rtpbin   |     |udpsink|  RTP
-# |      src->sink    src->sink    src->send_rtp send_rtp->sink     | port=5000
-# '-------'    '-------'    '-------'      |          |     '-------'
-#                                          |          |      
-#                                          |          |     .-------.
-#                                          |          |     |udpsink|  RTCP
-#                                          |    send_rtcp->sink     | port=5001
-#                           .-------.      |          |     '-------' sync=false
-#                RTCP       |udpsrc |      |          |               async=false
-#              port=5005    |     src->recv_rtcp      |                       
-#                           '-------'      |          |              
-#                                          |          |
-# .-------.    .-------.    .-------.      |          |     .-------.
-# |autoaudiosrc|    |alawenc|    |pcmapay|      | rtpbin   |     |udpsink|  RTP
-# |      src->sink    src->sink    src->send_rtp send_rtp->sink     | port=5002
-# '-------'    '-------'    '-------'      |          |     '-------'
-#                                          |          |      
-#                                          |          |     .-------.
-#                                          |          |     |udpsink|  RTCP
-#                                          |    send_rtcp->sink     | port=5003
-#                           .-------.      |          |     '-------' sync=false
-#                RTCP       |udpsrc |      |          |               async=false
-#              port=5007    |     src->recv_rtcp      |                       
-#                           '-------'      '----------'              
+#  .-------.    .-------.    .-------.      .----------.     .-------.
+#  |v4lssrc|    |h264enc|    |h264pay|      | rtpbin   |     |udpsink|  RTP
+#  |      src->sink    src->sink    src->send_rtp send_rtp->sink     | port=5000
+#  '-------'    '-------'    '-------'      |          |     '-------'
+#                                           |          |
+#                                           |          |     .-------.
+#                                           |          |     |udpsink|  RTCP
+#                                           |    send_rtcp->sink     | port=5001
+#                            .-------.      |          |     '-------' sync=false
+#                 RTCP       |udpsrc |      |          |               async=false
+#               port=5005    |     src->recv_rtcp      |
+#                            '-------'      |          |
+#                                           |          |
+# .--------.    .-------.    .-------.      |          |     .-------.
+# |audiosrc|    |alawenc|    |pcmapay|      | rtpbin   |     |udpsink|  RTP
+# |       src->sink    src->sink    src->send_rtp send_rtp->sink     | port=5002
+# '--------'    '-------'    '-------'      |          |     '-------'
+#                                           |          |
+#                                           |          |     .-------.
+#                                           |          |     |udpsink|  RTCP
+#                                           |    send_rtcp->sink     | port=5003
+#                            .-------.      |          |     '-------' sync=false
+#                 RTCP       |udpsrc |      |          |               async=false
+#               port=5007    |     src->recv_rtcp      |
+#                            '-------'      '----------'
 #
 # ideally we should transport the properties on the RTP udpsink pads to the
 # receiver in order to transmit the SPS and PPS earlier.
@@ -41,7 +41,7 @@
 DEST=127.0.0.1
 
 # tuning parameters to make the sender send the streams out of sync. Can be used
-# ot test the client RTCP synchronisation. 
+# ot test the client RTCP synchronisation.
 #VOFFSET=900000000
 VOFFSET=0
 AOFFSET=0