mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
avb: implement maap
Implement the maap state machine. Use maap for the destination address of talker streams.
This commit is contained in:
parent
e0d6b2bb4f
commit
f043922b24
10 changed files with 247 additions and 19 deletions
|
|
@ -534,6 +534,9 @@ int stream_activate(struct stream *stream, uint64_t now)
|
|||
stream->talker_attr->attr.talker.stream_id = htobe64(stream->peer_id);
|
||||
avb_mrp_attribute_begin(stream->talker_attr->mrp, now);
|
||||
} else {
|
||||
if ((res = avb_maap_get_address(server->maap, stream->addr, stream->index)) < 0)
|
||||
return res;
|
||||
|
||||
stream->listener_attr->attr.listener.stream_id = htobe64(stream->id);
|
||||
stream->listener_attr->param = AVB_MSRP_LISTENER_PARAM_IGNORE;
|
||||
avb_mrp_attribute_begin(stream->listener_attr->mrp, now);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue