Sha256: 281f7b7c7736120f1b02315a88d121b9ebd5064a0262dc08c61ee5ed41b65038
Contents?: true
Size: 1.29 KB
Versions: 25
Compression:
Stored size: 1.29 KB
Contents
require 'rubygems' require 'socket' require 'timeout' require 'cucumber/rspec/doubles' $:.unshift(File.dirname(__FILE__) + '/../../lib') require 'rtsp/client' $:.unshift(File.dirname(__FILE__) + '/../../spec/support') require 'fake_rtsp_server' DESCRIBE_RESPONSE = %Q{ RTSP/1.0 200 OK\r Server: DSS/5.5 (Build/489.7; Platform/Linux; Release/Darwin; )\r Cseq: 2\r Cache-Control: no-cache\r Content-length: 406\r Date: Sun, 23 Jan 2011 00:36:45 GMT\r Expires: Sun, 23 Jan 2011 00:36:45 GMT\r Content-Type: application/sdp\r x-Accept-Retransmit: our-retransmit\r x-Accept-Dynamic-Rate: 1\r Content-Base: rtsp://64.202.98.91:554/gs.sdp/\r \r\n\r v=0\r o=- 545877020 467920391 IN IP4 127.0.0.1\r s=Groove Salad from SomaFM [aacPlus]\r i=Downtempo Ambient Groove\r c=IN IP4 0.0.0.0\r t=0 0\r a=x-qt-text-cmt:Orban Opticodec-PC\r\n a=x-qt-text-nam:Groove Salad from SomaFM [aacPlus]\r a=x-qt-text-inf:Downtempo Ambient Groove\r a=control:*\r m=audio 0 RTP/AVP 96\r b=AS:48\r a=rtpmap:96 MP4A-LATM/44100/2\r a=fmtp:96 cpresent=0;config=400027200000\r a=control:trackID=1\r \r\n} # Define #describe so when RTSP::Message calls #method_missing, RSpec doesn't # get in the way (and cause tests to fail). module RTSP class Message def self.describe request_uri self.new(:describe, request_uri) end end end
Version data entries
25 entries across 25 versions & 2 rubygems