rtsp_server 0.0.8 → 0.0.9

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: 3667e18d955df482b9e7751437e553e595a61242
4
- data.tar.gz: 59a189ea97400ce6528949d4be1933ca9ba554bd
3
+ metadata.gz: c3f37870922dd6b087970880a0f898105c4c7df4
4
+ data.tar.gz: 95815b22a6fd829e20d7a4b026ca6ae2d36b7ff2
5
5
  SHA512:
6
- metadata.gz: 5a85d2813d4a5fbe64684221ab2a7aba4e97219631c80ffa28b90011e8a5a30323d6a209d5839d6f03613921895c357b1c80e7432f51a428aefe4b56a62a8669
7
- data.tar.gz: 03988b3000ce0e672bb833b1783cdc61ccf094ea2652da5a5515bf42e623b2d02b869ac9187c6d149f0c77b74db3e3a18be027cb45d5255a32e689c79040a1d4
6
+ metadata.gz: 1dd75458888c866ffed70ea79322285260f8960fd7cde4e0bf061c4722c7cf0ef4cc492fd700d82f7a9d435b0fc38784837457dfcb18c3ee4ce78a176f9f756d
7
+ data.tar.gz: 6bb8c31633e3fc76109cf56bd0fd17ea21883d55bb6a2b1658cf282ee354c9b896b98be44885d0e9e3ed037d583e7eb088867ee4c63f03569498965a215f1120
data/lib/rtsp/server.rb CHANGED
@@ -308,7 +308,9 @@ module RTSP
308
308
 
309
309
  if request.transport.include?(port_specifier)
310
310
  transport = request.transport.split(port_specifier)
311
- transport[1] = port_specifier + transport[1]
311
+ transport[1] = port_specifier + transport[1]
312
+ transport[1] = "" if request.transport.include?("multicast")
313
+ transport[1] << ";port=#{server_port}-#{server_port + 1}"
312
314
  else
313
315
  transport = [request.transport + ';', "port=#{server_port}-#{server_port + 1}"]
314
316
  end
data/lib/rtsp/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module RTSP
2
2
  # rtsp version
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
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.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Loveless, Mike Kirby
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-07 00:00:00.000000000 Z
12
+ date: 2014-02-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: parslet