webrtc/sdk
Jesús Leganés-Combarro 'piranna ffbfba979f Added PeerConnectionObserverJni::OnRemoveTrack()
Change-Id: I0880caa77a1097f56c560152e85c9ca29242f825

This PR add support for the `PeerConnectionObserverJni::OnRemoveTrack()`
event on Java, allowing to be notified when a remote track has been
removed. It's a very thing JNI wrapper on top of C++ API, being mostly
similar to other already available events like `track` and `addTrack`.

In Javascript API, tracks are not "removed" explicitly from the
PeerConnection, but instead receiver PeerConnection gets notified that
they have been removed from the streams they are associated to, and when
no `MediaStream` object has that track, it's considered that the track
has been removed from the PeerConnection. In Java and C++ APIs there's no
`MediaStreamObserver` class, so there's no way to listen to the
`removeTrack` event the same way happens in Javascript API, but instead
C++ API has a `removeTrack` event at PeerConnection level. This patchset
just only wraps and expose this `removeTrack` event from the C++ API to
the Java API.

This PR has been sponsored by Atos Research and Innovation
(https://atos.net/en/about-us/innovation-and-research).

Bug: webrtc:12850
Change-Id: I0880caa77a1097f56c560152e85c9ca29242f825
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/218847
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Xavier Lepaul‎ <xalep@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34225}
2021-06-03 19:24:55 +00:00
..
android Added PeerConnectionObserverJni::OnRemoveTrack() 2021-06-03 19:24:55 +00:00
objc Add resolution alignment properties to RTCVideoEncoder protocol. 2021-06-02 09:30:06 +00:00
BUILD.gn Move proxies into pc/. 2021-05-27 09:56:42 +00:00
media_constraints.cc Remove more mentions of RTP datachannels 2021-04-21 10:16:43 +00:00
media_constraints.h Remove more mentions of RTP datachannels 2021-04-21 10:16:43 +00:00
media_constraints_unittest.cc Remove enable_rtp_data_channel 2021-04-15 10:20:00 +00:00
OWNERS Remove wildcard ownership for build files. 2020-02-19 14:05:46 +00:00