| 1 |
RTSP-Server version |
| 2 |
======================== |
| 3 |
|
| 4 |
This module is designed to accept a number of sources to connect and |
| 5 |
transmit audio and video streams. |
| 6 |
Clients can connect and send RTSP commands to receive RTP data. |
| 7 |
|
| 8 |
This was designed to make rebroadcasting audio and video data over a |
| 9 |
network simple. |
| 10 |
|
| 11 |
INSTALLATION |
| 12 |
|
| 13 |
To install this module type the following: |
| 14 |
|
| 15 |
perl Makefile.PL |
| 16 |
make |
| 17 |
make test |
| 18 |
make install |
| 19 |
|
| 20 |
RUNNING |
| 21 |
|
| 22 |
Simply fire up the included rtsp-server.pl application and it will |
| 23 |
listen for clients on port 554 (standard RTSP port), and source |
| 24 |
streams on port 5545. |
| 25 |
|
| 26 |
To begin sending video, you can use any client which supports the |
| 27 |
ANNOUNCE and RECORD RTSP methods, such as ffmpeg: |
| 28 |
|
| 29 |
ffmpeg -re -i /input.avi -f rtsp -muxdelay 0.1 rtsp://12.34.56.78:5545/abc |
| 30 |
|
| 31 |
You should then be able to play that stream with any decent media |
| 32 |
player. Just point it at rtsp://12.34.56.78/abc |
| 33 |
|
| 34 |
If you don't want to run it as root, you may specify non-priviliged |
| 35 |
ports with --clientport/-c and --sourceport/-s |
| 36 |
|
| 37 |
COMING SOON: |
| 38 |
|
| 39 |
Priv dropping, authentication, client encoder, stats, tests |
| 40 |
|
| 41 |
DEPENDENCIES |
| 42 |
|
| 43 |
This module requires these other modules and libraries: |
| 44 |
|
| 45 |
L<Moose>, L<AnyEvent::Socket>, L<AnyEvent::Handle> |
| 46 |
|
| 47 |
COPYRIGHT AND LICENCE |
| 48 |
|
| 49 |
Copyright (C) 2010 by Mischa Spiegelmock |
| 50 |
|
| 51 |
This library is free software; you can redistribute it and/or modify |
| 52 |
it under the same terms as Perl itself, either Perl version 5.10.0 or, |
| 53 |
at your option, any later version of Perl 5 you may have available. |
| 54 |
|
| 55 |
|