mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-08 13:30:08 -05:00
raop: add error from reply
Return an error from the reply callback and log some generic message in case there is an error value returned.
This commit is contained in:
parent
e168af8804
commit
59e49d31eb
3 changed files with 87 additions and 62 deletions
|
|
@ -75,13 +75,13 @@ int pw_rtsp_client_get_local_ip(struct pw_rtsp_client *client,
|
|||
int pw_rtsp_client_url_send(struct pw_rtsp_client *client, const char *url,
|
||||
const char *cmd, const struct spa_dict *headers,
|
||||
const char *content_type, const void *content, size_t content_length,
|
||||
void (*reply) (void *user_data, int status, const struct spa_dict *headers),
|
||||
int (*reply) (void *user_data, int status, const struct spa_dict *headers),
|
||||
void *user_data);
|
||||
|
||||
int pw_rtsp_client_send(struct pw_rtsp_client *client,
|
||||
const char *cmd, const struct spa_dict *headers,
|
||||
const char *content_type, const char *content,
|
||||
void (*reply) (void *user_data, int status, const struct spa_dict *headers),
|
||||
int (*reply) (void *user_data, int status, const struct spa_dict *headers),
|
||||
void *user_data);
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue