Feature: Client changes state As an RTSP client user I want to monitor the state of my client So that I can be sure of what my client is doing at any time Scenario Outline: State doesn't change after certain requests Given I haven't made any RTSP requests When I issue an "" request with "" Then the state stays the same Examples: | request_type | parameters | | options | | | describe | | Scenario Outline: State changes from Init Given I haven't made any RTSP requests When I issue an "" request with "" Then the state changes to "" Examples: | request_type | parameters | state_result | | setup | url | ready | | teardown | url | init | Scenario Outline: State changes from Ready Given I have set up a stream When I issue an "" request with "" Then the state changes to "" Examples: | request_type | parameters | state_result | | play | url | playing | | record | url | recording | | teardown | url | init | | setup | url | ready | Scenario Outline: State changes from Playing Given I have set up a stream And I have started playing a stream When I issue an "" request with "" Then the state changes to "" Examples: | request_type | parameters | state_result | | pause | url | ready | | teardown | url | init | | play | url | playing | | setup | url | playing | Scenario Outline: State changes from Recording Given I have set up a stream And I have started recording a stream When I issue an "" request with "" Then the state changes to "" Examples: | request_type | parameters | state_result | | pause | url | ready | | teardown | url | init | | record | url | recording | | setup | url | recording |