| Index: webrtc/p2p/base/transportchannel.h
|
| diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h
|
| index b91af139b7155d35589305deef52cb0bb7308eb5..0dba02f08434c3021bd1989714e6593f4f784957 100644
|
| --- a/webrtc/p2p/base/transportchannel.h
|
| +++ b/webrtc/p2p/base/transportchannel.h
|
| @@ -15,6 +15,7 @@
|
| #include <vector>
|
|
|
| #include "webrtc/p2p/base/candidate.h"
|
| +#include "webrtc/p2p/base/candidatepairinterface.h"
|
| #include "webrtc/p2p/base/transport.h"
|
| #include "webrtc/p2p/base/transportdescription.h"
|
| #include "webrtc/base/asyncpacketsocket.h"
|
| @@ -146,11 +147,18 @@ class TransportChannel : public sigslot::has_slots<> {
|
| // Signalled each time a packet is sent on this channel.
|
| sigslot::signal2<TransportChannel*, const rtc::SentPacket&> SignalSentPacket;
|
|
|
| + // Deprecated by SignalSelectedCandidatePairChanged
|
| // This signal occurs when there is a change in the way that packets are
|
| // being routed, i.e. to a different remote location. The candidate
|
| // indicates where and how we are currently sending media.
|
| sigslot::signal2<TransportChannel*, const Candidate&> SignalRouteChange;
|
|
|
| + // Signalled when the current selected candidate pair has changed.
|
| + // The first parameter is the transport channel that signals the event.
|
| + // The second parameter is the new selected candidate pair.
|
| + sigslot::signal2<TransportChannel*, CandidatePairInterface*>
|
| + SignalSelectedCandidatePairChanged;
|
| +
|
| // Invoked when the channel is being destroyed.
|
| sigslot::signal1<TransportChannel*> SignalDestroyed;
|
|
|
|
|