GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RTPSEND-PCMU(1) User Contributed Perl Documentation RTPSEND-PCMU(1)

rtpsend-pcmu.pl - Send an audio file an RTP session as u-law

rtpsend-pcmu.pl <filename> <dest_addr> [<dest_port>] [<ttl>]

rtpsend-pcmu.pl sends audio files to an RTP session using PCM u-law (G.711) payload encoding (RTP payload type 0). If no port is specified, then port 5004 is assumed. If no TTL is specified, then a TTL of 2 is assumed.

Each packet sent contains 160 samples of audio, and as payload type 0 has a fixed sample rate of 8000Hz, each packet has a duration of 20 miliseconds.

rtpsend-pcmu.pl uses the 'sox' command as helper to transcode and resample the audio file to u-law, which means that many audio file formats are automatically supported (AIFF, WAVE, SUN .au, GSM, ...).

Net::RTP

Net::RTP::Packet

<http://sox.sourceforge.net/>

Doesn't keep packet sending timing very well - it goes out of sync very quickly.

Nicholas J Humfrey, njh@cpan.org

Copyright (C) 2006 University of Southampton

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.005 or, at your option, any later version of Perl 5 you may have available.

2022-04-09 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.