rtsp 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.rdoc +11 -5
- data/bin/rtsp_client +6 -6
- data/lib/rtsp/version.rb +1 -1
- data/spec/unit/rtsp_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ffdbb865e10b6f9b6bc79b1c4c428a8fed01e61
|
4
|
+
data.tar.gz: 88bbad32b6fe381a1b75a07dab694f7e99bf1092
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eeacbe4ea37d58f75294fbc9db8f642b34f07dba8c74089760d3f54800a358455c3efea2ec96ce9473b60064a155758bff29626760d38fffc49e86fe5698866
|
7
|
+
data.tar.gz: 0f77488982c5586550c890051cf90b2b848d1b4dd991fd79af87594cee0a3495e4cf326abd9d5b3f73be6dee2c6a06e71bd46d7954973e0332f9dbfbc194d7da
|
data/ChangeLog.rdoc
CHANGED
@@ -1,11 +1,17 @@
|
|
1
|
+
=== 0.4.5 / 2013-10-21
|
2
|
+
|
3
|
+
* Bug fixes
|
4
|
+
* {gh-22}[https://github.com/turboladen/rtsp/pull/22] Fixed to work with most
|
5
|
+
recent rtp gem release. Thanks {tindron}[http://github.com/tindron]!
|
6
|
+
|
1
7
|
=== 0.4.4 / 2013-07-01
|
2
8
|
|
3
9
|
* Improvements
|
4
|
-
* {gh-21}[
|
10
|
+
* {gh-21}[https://github.com/turboladen/rtsp/issues/21] Transport header
|
5
11
|
parser is now a little more flexible. This functionality really needs a
|
6
12
|
rewrite, and should be done as part of
|
7
13
|
{gh-15}[htts://github.com/turboladen/rtsp/issues/15]. Thanks
|
8
|
-
{nmccready}[http
|
14
|
+
{nmccready}[http://github.com/nmccready]!
|
9
15
|
|
10
16
|
=== 0.4.3 / 2012-11-20
|
11
17
|
|
@@ -87,12 +93,12 @@
|
|
87
93
|
descriptor' bug when capturing to file.
|
88
94
|
|
89
95
|
* Improvements
|
90
|
-
* If
|
96
|
+
* If +RTSP::Capturer+ can't open port 9000, it increments by 1 and tries again,
|
91
97
|
50 times, then raises.
|
92
98
|
* gh-4[https://github.com/turboladen/rtsp/issues/4]: Remove dependency on ore
|
93
99
|
en lieu of standard gem commands.
|
94
100
|
* Participate in http://test.rubygems.org!
|
95
|
-
* Changed
|
101
|
+
* Changed +RTSP::Capturer+ init_*_server methods to take params in order to reduce
|
96
102
|
dependency on state of the Capturer object.
|
97
103
|
|
98
104
|
=== 0.1.2 / 2011-04-14
|
@@ -109,7 +115,7 @@
|
|
109
115
|
the installed rtsp/client.
|
110
116
|
|
111
117
|
* Improvements
|
112
|
-
*
|
118
|
+
* +RTSP::Capturer#run+'s log message now says what it's logging.
|
113
119
|
* bin/rtsp_client:
|
114
120
|
* Fixed bad description for --stream.
|
115
121
|
* Added --version.
|
data/bin/rtsp_client
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'tempfile'
|
4
4
|
require 'optparse'
|
5
5
|
require 'rtsp/client'
|
6
|
+
require 'rtp/receiver'
|
6
7
|
|
7
8
|
optparse = OptionParser.new do |opts|
|
8
9
|
opts.banner = "Usage: #{__FILE__} [options] url"
|
@@ -63,14 +64,13 @@ optparse = OptionParser.new do |opts|
|
|
63
64
|
exit
|
64
65
|
end
|
65
66
|
|
66
|
-
rtsp_client = RTSP::Client.new(url)
|
67
|
-
|
68
|
-
|
67
|
+
rtsp_client = RTSP::Client.new(url)
|
68
|
+
rtsp_client.capturer = RTP::Receiver.new(capture_file:
|
69
|
+
File.open("#{Dir.pwd}/rtsp_client_stream.rtp", "wb"))
|
69
70
|
|
70
71
|
begin
|
71
72
|
puts "Getting server options..."
|
72
73
|
response = rtsp_client.options
|
73
|
-
puts "\tServer: #{response.server}"
|
74
74
|
puts "\tSupported methods: #{response.public}"
|
75
75
|
puts ""
|
76
76
|
|
@@ -104,10 +104,10 @@ optparse = OptionParser.new do |opts|
|
|
104
104
|
end
|
105
105
|
puts ""
|
106
106
|
|
107
|
-
if rtsp_client.capturer.
|
107
|
+
if rtsp_client.capturer.capture_file.size.zero?
|
108
108
|
puts "Captured 0 bytes. Your firewall might be blocking the RTP traffic on port #{rtsp_client.capturer.rtp_port}."
|
109
109
|
else
|
110
|
-
puts "RTP data captured to file: #{rtsp_client.capturer.
|
110
|
+
puts "RTP data captured to file: #{rtsp_client.capturer.capture_file.path}"
|
111
111
|
end
|
112
112
|
|
113
113
|
puts "Tearing down..."
|
data/lib/rtsp/version.rb
CHANGED
data/spec/unit/rtsp_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rtsp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Loveless
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-10-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: parslet
|