mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-25 01:40:36 -05:00
stream: generate PeerCapbility for old servers
Automatically make an empty PeerCapability param when we receive a Latency event without a PeerCapability. This makes new client always receive a PeerCapability param, even when the other side did not provide anything or when the server is too old to collect them.
This commit is contained in:
parent
941fc5f51c
commit
3f292e3ce3
3 changed files with 26 additions and 1 deletions
|
|
@ -277,6 +277,7 @@ static void parse_peer_capability(struct data *data, const struct spa_pod *param
|
|||
struct spa_peer_param_info info;
|
||||
void *state = NULL;
|
||||
|
||||
fprintf(stderr, "peer capability\n");
|
||||
while (spa_peer_param_parse(param, &info, sizeof(info), &state) == 1) {
|
||||
struct spa_param_dict_info di;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue