webrtc/pc
Steve Anton ef65ef1811 Fire OnAddTrack when Unified Plan is enabled
When Unified Plan semantics are set, PeerConnection will fire OnAddTrack
according to the WebRTC spec. OnRemoveTrack will never be fired and will
be deprecated in the future.

Bug: webrtc:7600
Change-Id: Idfaada65b795b5fb9fe4844cff036d52ea90da17
Reviewed-on: https://webrtc-review.googlesource.com/38122
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21564}
2018-01-11 01:43:00 +00:00
..
test Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
audiomonitor.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audiomonitor.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audiotrack.cc Remove "using rtc::scoped_ptr" from audiotrack.cc. 2017-11-28 21:29:18 +00:00
audiotrack.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
BUILD.gn Revert "Revert "GN rtc_* templates: Set default visibility to webrtc_root + "/*""" 2018-01-10 15:55:04 +00:00
bundlefilter_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
bundlefilter.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
bundlefilter.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
channel_unittest.cc Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
channel.cc Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
channel.h Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
channelmanager_unittest.cc Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
channelmanager.cc Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
channelmanager.h Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
createpeerconnectionfactory.cc Use AudioProcessingBuilder everywhere AudioProcessing is created. 2018-01-09 13:45:20 +00:00
currentspeakermonitor_unittest.cc Enable cpplint in pc/ 2017-10-30 18:08:29 +00:00
currentspeakermonitor.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
currentspeakermonitor.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
datachannel_unittest.cc Enable cpplint in pc/ 2017-10-30 18:08:29 +00:00
datachannel.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
datachannel.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
DEPS Move videosinkinterface.h to common_video to solve a circular dep. 2018-01-04 13:19:49 +00:00
dtlssrtptransport_unittest.cc Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
dtlssrtptransport.cc Use the DtlsSrtpTransport in BaseChannel. 2017-11-29 19:38:39 +00:00
dtlssrtptransport.h Make the DtlsSrtpTransport cache the RtpAbsSendTimeHeaderExtension. 2017-11-30 02:17:09 +00:00
dtmfsender_unittest.cc Clean up dependencies of peerconnection_unittest. 2017-09-15 12:51:00 +00:00
dtmfsender.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
dtmfsender.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
externalhmac.cc Remove unnecessary "memset". 2017-12-22 00:22:23 +00:00
externalhmac.h [CFI] Fix cfi-icall failures 2017-12-12 09:27:07 +00:00
iceserverparsing_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
iceserverparsing.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
iceserverparsing.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
jsepicecandidate.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
jsepsessiondescription_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
jsepsessiondescription.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
jseptransport_unittest.cc Reland "Move JsepTransport from p2p/base to pc/." 2017-12-19 20:50:41 +00:00
jseptransport.cc Reland "Move JsepTransport from p2p/base to pc/." 2017-12-19 20:50:41 +00:00
jseptransport.h Move sessiondescription.h/cc from p2p/base to pc/ 2017-12-20 00:21:52 +00:00
localaudiosource_unittest.cc Optional: Use nullopt and implicit construction in /pc 2017-11-21 17:53:37 +00:00
localaudiosource.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
localaudiosource.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediaconstraintsinterface_unittest.cc Optional: Use nullopt and implicit construction in /pc 2017-11-21 17:53:37 +00:00
mediamonitor.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediamonitor.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediasession_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
mediasession.cc Add support for data channels with Unified Plan 2018-01-02 19:46:01 +00:00
mediasession.h Add support for data channels with Unified Plan 2018-01-02 19:46:01 +00:00
mediastream_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediastream.cc Enable cpplint in pc/ 2017-10-30 18:08:29 +00:00
mediastream.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediastreamobserver.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediastreamobserver.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mediastreamtrack.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS Make hbos@webrtc.org OWNER of peerconnection*. 2017-11-13 12:27:29 +00:00
peerconnection_bundle_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
peerconnection_crypto_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
peerconnection_datachannel_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
peerconnection_ice_unittest.cc Use static_cast to get webrtc::Peerconnection in common workaround. 2017-12-13 12:20:31 +00:00
peerconnection_integrationtest.cc Fixing leaked reference from SCTP transport to DTLS/ICE transport. 2018-01-04 00:53:07 +00:00
peerconnection_jsep_unittest.cc Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
peerconnection_media_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
peerconnection_rtp_unittest.cc Signal track ID correctly when Unified Plan semantics selected 2018-01-11 01:11:15 +00:00
peerconnection_signaling_unittest.cc Use static_cast to get webrtc::Peerconnection in common workaround. 2017-12-13 12:20:31 +00:00
peerconnection.cc Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
peerconnection.h Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
peerconnectionendtoend_unittest.cc Optional: Use nullopt and implicit construction in /pc/peerconnectionendtoend_unittest.cc 2017-11-22 14:21:57 +00:00
peerconnectionfactory_unittest.cc Enable cpplint in pc/ 2017-10-30 18:08:29 +00:00
peerconnectionfactory.cc Sets names of peerconnection worker and network thread 2017-11-13 10:34:58 +00:00
peerconnectionfactory.h Enable cpplint in pc/ 2017-10-30 18:08:29 +00:00
peerconnectioninterface_unittest.cc Use AudioProcessingBuilder everywhere AudioProcessing is created. 2018-01-09 13:45:20 +00:00
peerconnectionwrapper.cc Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
peerconnectionwrapper.h Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
proxy_unittest.cc Clean up dependencies of peerconnection_unittest. 2017-09-15 12:51:00 +00:00
remoteaudiosource.cc Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
remoteaudiosource.h Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
rtcpmuxfilter_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtcpmuxfilter.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
rtcpmuxfilter.h Move sessiondescription.h/cc from p2p/base to pc/ 2017-12-20 00:21:52 +00:00
rtcstats_integrationtest.cc Generate signed packets_lost in WebRTC-stats 2017-12-13 12:25:42 +00:00
rtcstatscollector_unittest.cc Pivot generation of stats to iterate senders/receivers 2018-01-02 13:36:01 +00:00
rtcstatscollector.cc Pivot generation of stats to iterate senders/receivers 2018-01-02 13:36:01 +00:00
rtcstatscollector.h Change RTCStatsCollector to only access channels from signaling thread 2017-12-18 18:55:23 +00:00
rtpmediautils_unittest.cc Remove cricket::RtpTransceiverDirection 2017-11-27 23:04:17 +00:00
rtpmediautils.cc Replace MediaContentDirection with RtpTransceiverDirection 2017-11-28 23:44:28 +00:00
rtpmediautils.h Replace MediaContentDirection with RtpTransceiverDirection 2017-11-28 23:44:28 +00:00
rtpreceiver.cc Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
rtpreceiver.h Fire OnAddTrack when Unified Plan is enabled 2018-01-11 01:43:00 +00:00
rtpsender.cc Signal track ID correctly when Unified Plan semantics selected 2018-01-11 01:11:15 +00:00
rtpsender.h Signal track ID correctly when Unified Plan semantics selected 2018-01-11 01:11:15 +00:00
rtpsenderreceiver_unittest.cc Signal track ID correctly when Unified Plan semantics selected 2018-01-11 01:11:15 +00:00
rtptransceiver.cc Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
rtptransceiver.h Change RtpReceivers to interact with the media channel directly 2018-01-11 00:16:44 +00:00
rtptransport_unittest.cc Fixing some clang-tidy findings. 2017-11-21 16:43:07 +00:00
rtptransport.cc Use the DtlsSrtpTransport in BaseChannel. 2017-11-29 19:38:39 +00:00
rtptransport.h Use the DtlsSrtpTransport in BaseChannel. 2017-11-29 19:38:39 +00:00
rtptransportinternal.h Use the DtlsSrtpTransport in BaseChannel. 2017-11-29 19:38:39 +00:00
rtptransportinternaladapter.h Created the DtlsSrtpTransport. 2017-11-20 23:18:22 +00:00
rtptransporttestutil.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
sctputils_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
sctputils.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
sctputils.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
sdputils.cc Replace string type with SdpType enum 2017-12-07 19:08:47 +00:00
sdputils.h Move sessiondescription.h/cc from p2p/base to pc/ 2017-12-20 00:21:52 +00:00
sessiondescription.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
sessiondescription.h Fix shadowed variable in ContentInfo 2018-01-05 21:12:09 +00:00
srtpfilter_unittest.cc Fix ortc_api circular deps. 2017-11-15 13:31:51 +00:00
srtpfilter.cc Optional: Use nullopt and implicit construction in /pc 2017-11-21 17:53:37 +00:00
srtpfilter.h Move sessiondescription.h/cc from p2p/base to pc/ 2017-12-20 00:21:52 +00:00
srtpsession_unittest.cc Remove the SetEncryptedHeaderExtensionIds methods. 2017-11-11 01:14:35 +00:00
srtpsession.cc Remove the SetEncryptedHeaderExtensionIds methods. 2017-11-11 01:14:35 +00:00
srtpsession.h Remove the SetEncryptedHeaderExtensionIds methods. 2017-11-11 01:14:35 +00:00
srtptestutil.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
srtptransport_unittest.cc Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
srtptransport.cc Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
srtptransport.h Prepare to make BaseChannel depend on RtpTransportInternal only. 2017-12-04 22:27:39 +00:00
statscollector_unittest.cc Pivot old stats generation to iterate senders/receivers 2018-01-04 14:58:19 +00:00
statscollector.cc Pivot old stats generation to iterate senders/receivers 2018-01-04 14:58:19 +00:00
statscollector.h Pivot old stats generation to iterate senders/receivers 2018-01-04 14:58:19 +00:00
streamcollection.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
trackmediainfomap_unittest.cc Pivot generation of stats to iterate senders/receivers 2018-01-02 13:36:01 +00:00
trackmediainfomap.cc Pivot generation of stats to iterate senders/receivers 2018-01-02 13:36:01 +00:00
trackmediainfomap.h Pivot generation of stats to iterate senders/receivers 2018-01-02 13:36:01 +00:00
transportcontroller_unittest.cc Allow the TransportController to create RTP level transports. 2017-12-11 09:19:25 +00:00
transportcontroller.cc Reland "Move JsepTransport from p2p/base to pc/." 2017-12-19 20:50:41 +00:00
transportcontroller.h Reland "Move JsepTransport from p2p/base to pc/." 2017-12-19 20:50:41 +00:00
videocapturertracksource_unittest.cc Optional: Use nullopt and implicit construction in /pc 2017-11-21 17:53:37 +00:00
videocapturertracksource.cc Optional: Use nullopt and implicit construction in /pc 2017-11-21 17:53:37 +00:00
videocapturertracksource.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
videotrack_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
videotrack.cc Enable cpplint in pc/ 2017-10-30 18:08:29 +00:00
videotrack.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
videotracksource.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
videotracksource.h Move videosinkinterface.h to common_video to solve a circular dep. 2018-01-04 13:19:49 +00:00
voicechannel.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
webrtcsdp_unittest.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
webrtcsdp.cc Use the SDP ContentInfo helpers to avoid downcasting 2017-12-22 00:17:53 +00:00
webrtcsdp.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
webrtcsessiondescriptionfactory.cc Replace string type with SdpType enum 2017-12-07 19:08:47 +00:00
webrtcsessiondescriptionfactory.h Replace string type with SdpType enum 2017-12-07 19:08:47 +00:00