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