aboutsummaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorJordan Bayles <jophba@chromium.org>2019-12-10 14:35:04 -0800
committerCommit Bot <commit-bot@chromium.org>2019-12-17 18:18:55 +0000
commitb984fd2bc5ae296b7a97209494f1e52e7e1a1dba (patch)
tree00c3a7b0713c345704b9f379be96dd32bf37f53b /third_party
parentb7cdb6cb46466e1a6d53ca5c0bcc772f12efc78e (diff)
downloadopenscreen-b984fd2bc5ae296b7a97209494f1e52e7e1a1dba.tar.gz
Update Receiver ownership
Currently, the embedder is responsible for owning Receivers, but they are not guaranteed to remain valid and are deleted upon renegotiation. To avoid confusing ownership and lifetimes, this patch changes ConfiguredReceivers to use dumb pointers, and have the lifetime of both the audio and video receivers managed directly by the ReceiverSession. A new OnReceiversDestroyed event is created, and the unit tests are updated to ensure it is called appropriately. Change-Id: I0c4fef00ecbafcc4e9b9abf5af5b507b38fece4b Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1961046 Reviewed-by: Ryan Keane <rwkeane@google.com> Commit-Queue: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions