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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28131f72eddd446ae03db4520033ac3d4e4b4fb0
4
- data.tar.gz: b272f509cd3dbb6380ade57c31821b56e892fb1b
3
+ metadata.gz: 8ffdbb865e10b6f9b6bc79b1c4c428a8fed01e61
4
+ data.tar.gz: 88bbad32b6fe381a1b75a07dab694f7e99bf1092
5
5
  SHA512:
6
- metadata.gz: 1b5fe820b9b15ceceed4663bc94248086591e017e1eadfb41fed47b2e5a12977975d7f0618ee07c8a71e5c7de9662aba9d52c92c4548805c391153f7aa792661
7
- data.tar.gz: 27337607eb94371bb43b15bd5ad9521c4df9ecd58e70310f0cdcc93d6270f9b516b75da90f534f3dceb0388cef377d20b3a18f07aa7481a29dadc13fd6582d8f
6
+ metadata.gz: 7eeacbe4ea37d58f75294fbc9db8f642b34f07dba8c74089760d3f54800a358455c3efea2ec96ce9473b60064a155758bff29626760d38fffc49e86fe5698866
7
+ data.tar.gz: 0f77488982c5586550c890051cf90b2b848d1b4dd991fd79af87594cee0a3495e4cf326abd9d5b3f73be6dee2c6a06e71bd46d7954973e0332f9dbfbc194d7da
@@ -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}[htts://github.com/turboladen/rtsp/issues/21] Transport header
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:github.com/nmccready]!
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 {RTSP::Capturer} can't open port 9000, it increments by 1 and tries again,
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 {RTSP::Capturer} init_*_server methods to take params in order to reduce
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
- * {RTSP::Capturer#run}'s log message now says what it's logging.
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.
@@ -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) do |_, capturer|
67
- capturer.capture_file = File.open("#{Dir.pwd}/rtsp_client_stream.rtp", "wb")
68
- end
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.rtp_file.size.zero?
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.rtp_file}"
110
+ puts "RTP data captured to file: #{rtsp_client.capturer.capture_file.path}"
111
111
  end
112
112
 
113
113
  puts "Tearing down..."
@@ -1,7 +1,7 @@
1
1
  module RTSP
2
2
  SNAPSHOT = false
3
3
  RELEASE = true
4
- BASE_VERSION = '0.4.4'
4
+ BASE_VERSION = '0.4.5'
5
5
 
6
6
  VERSION = if RELEASE
7
7
  BASE_VERSION
@@ -28,7 +28,7 @@ describe RTSP do
28
28
  describe RTSP::VERSION do
29
29
  it 'is set correctly' do
30
30
  if RTSP.release_version?
31
- RTSP::VERSION.should == '0.4.4'
31
+ RTSP::VERSION.should == '0.4.5'
32
32
  elsif RTSP.snapshot_version?
33
33
  RTSP::VERSION.should == '0.4.4.SNAPSHOT'
34
34
  else
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
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-07-02 00:00:00.000000000 Z
13
+ date: 2013-10-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: parslet