Skip to content

Commit

Permalink
Renamed feature to be more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
turboladen committed Mar 17, 2011
1 parent b1772e2 commit ccab658
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
26 changes: 26 additions & 0 deletions features/control_streams_as_client.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Feature: Control stream from an RTSP server
As an RTSP consumer
I want to be able to control RTSP streams from a server
So that I can view its contents as I desire

@wip
Scenario: Play single stream
Given an RTSP server at "10.221.222.235" and port 9010 and URL ""
When I play a stream from that server
Then I should not receive any errors
And I should receive data on the same port

Scenario: Play then pause single stream
Given an RTSP server at "10.221.222.235" and port 9010 and URL ""
When I play a stream from that server for 10 seconds
And I pause that stream
Then I should not receive data on the same port

Scenario: Play two streams individually and simultaneously

Scenario: Play then pause two streams individually and simultaneously

Scenario: Play two streams using the aggregate control URL

Scenario: Play then pause two streams using the aggregate control URL

17 changes: 0 additions & 17 deletions features/pull_stream_as_client.feature

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Given /^an RTSP server at "([^"]*)" and port (\d+)$/ do |ip_address, port|
@rtp_port = port
@rtp_port = port.to_i
@client = RTSP::Client.new ip_address
@client.setup :port => @rtp_port.to_i
@client.setup :port => @rtp_port
end

Given /^an RTSP server at "([^"]*)" and port (\d+) and URL "([^"]*)"$/ do |ip_address, port, path|
Expand Down
4 changes: 2 additions & 2 deletions rtsp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ RTSP: http://www.ietf.org/rfc/rfc2326.txt}
"bin/rtsp",
"features/client_changes_state.feature",
"features/client_requests.feature",
"features/pull_stream_as_client.feature",
"features/control_streams_as_client.feature",
"features/step_definitions/client_changes_state_steps.rb",
"features/step_definitions/client_requests_steps.rb",
"features/step_definitions/pull_stream_as_client_steps.rb",
"features/step_definitions/control_streams_as_client_steps.rb",
"features/support/common.rb",
"features/support/env.rb",
"features/support/world.rb",
Expand Down

0 comments on commit ccab658

Please sign in to comment.