rtsp_server 0.0.5 → 0.0.6

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: df5443ff82faa1499e38e8d5f5a09c8255d3ebe7
4
- data.tar.gz: 8c317116787c5e0222389b8ba73b97fba4413ffb
3
+ metadata.gz: 124fd8a0aeb32efaadaaed35e9c048e98d84957e
4
+ data.tar.gz: 944dacc1f3b19127c55fae08e53e28950d2c9ced
5
5
  SHA512:
6
- metadata.gz: e4435667c4132eae51e487d709720628ede839b7dbafa9d00575654144d1a0e4b33a535f9e1bb40b6202b48bf2a9b85c09ff0de6a2447721d569611c8d70bec0
7
- data.tar.gz: 7c7c300939245e32ea545df524dd846e7674718d26de522abf315d18d802b34ac28f46fa0138e8a3fd3c21ac419bfaa3b39569aeb20cefce0ccfa87933888cf1
6
+ metadata.gz: fa7551a32cdcaece272f90d6b5c15c7e0cb4ac3506db47050e6b53993bef70ea5293544e6aa7156a4eccea479a89233db25021cb3f98bce7a86fb8ad6b08b4f5
7
+ data.tar.gz: bff9d770e6477be8e31093ec48f984c84d3c9e3125e00e29dca7c608d0a44fc55e3dc5393dcffa3443a8e34bbe50f45eaf3ccab1763aec309964098f98707a94
data/lib/rtsp/server.rb CHANGED
@@ -307,8 +307,7 @@ module RTSP
307
307
  transport = request.transport.split(port_specifier)
308
308
  transport[1] = port_specifier + transport[1]
309
309
  else
310
- stream_port = RTSP::StreamServer.instance.source_port.first
311
- transport = [request.transport + ';', "port=#{stream_port}-#{stream_port + 1}"]
310
+ transport = [request.transport + ';', "port=#{server_port}-#{server_port + 1}"]
312
311
  end
313
312
 
314
313
  if request.transport.include?("unicast")
data/lib/rtsp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module RTSP
2
2
  # rtsp version
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtsp_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Loveless, Mike Kirby