Client.Describe sends request with OPTIONS method, not DESCRIBE #937
Replies: 1 comment
-
|
Hello, as you can see by looking at the code, the Client always send a OPTIONS request before any other request in order to assess the server capabilities, in particular whether the server supports GET_PARAMETER, which is used as keepalive. If you are calling Describe(), The DESCRIBE request is correctly sent just after the OPTIONS one. Code is here: Lines 1179 to 1184 in b6f80fd and here: Lines 1368 to 1369 in b6f80fd |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have code snippet like
`
url, err := base.ParseURL(rawURL)
if err != nil {
s.term.Errorf("Url parsing %q failed: %v", rawURL, err)
return false
}
`
And i see in wireshark than app sends request with OPTIONS method, not DESCRIBE. Why? Server first response returns in response "Public: OPTIONS, DESCRIBE, ANNOUNCE, SETUP, PLAY, RECORD, PAUSE, TEARDOWN, SET_PARAMETER, GET_PARAMETER\r\n"
I am using latest library version (v5)
Beta Was this translation helpful? Give feedback.
All reactions