mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-31 21:38:19 -04:00
GET /info
This commit is contained in:
parent
cf2aac7039
commit
b4b3a53384
4 changed files with 428 additions and 35 deletions
|
|
@ -243,7 +243,7 @@ static int process_status(struct pw_rtsp_client *client, char *buf)
|
|||
const char *state = NULL, *s;
|
||||
size_t len;
|
||||
|
||||
pw_log_info("status: %s", buf);
|
||||
pw_log_info("processing status: %s", buf);
|
||||
|
||||
s = pw_split_walk(buf, " ", &len, &state);
|
||||
if (!spa_strstartswith(s, "RTSP/"))
|
||||
|
|
@ -355,6 +355,7 @@ static int process_content(struct pw_rtsp_client *client)
|
|||
|
||||
spa_assert((size_t) res <= client->content_length);
|
||||
client->content_length -= res;
|
||||
pw_log_info("processing content (%ld bytes):\n%s", client->content.size, client->content.data);
|
||||
}
|
||||
|
||||
if (client->content_length == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue