Index: talk/app/webrtc/peerconnection.h |
diff --git a/talk/app/webrtc/peerconnection.h b/talk/app/webrtc/peerconnection.h |
index 2d388ae9f913912990af0541dd8eae67008da745..6fcfaf86dfcbc534dbdc9d099c3640d5bf86d338 100644 |
--- a/talk/app/webrtc/peerconnection.h |
+++ b/talk/app/webrtc/peerconnection.h |
@@ -236,6 +236,10 @@ class PeerConnection : public PeerConnectionInterface, |
const MediaConstraintsInterface* constraints, |
cricket::MediaSessionOptions* session_options); |
+ // Remove all local and remote tracks of type |media_type|. |
+ // Called when a media type is rejected (m-line set to port 0)t. |
pthatcher
2015/11/12 19:44:19
What's the ")t."? Did you mean ")."?
Taylor Brandstetter
2015/11/12 19:54:10
Yeah, not sure how that happened.
|
+ void RemoveTracks(cricket::MediaType media_type); |
+ |
// Makes sure a MediaStream Track is created for each StreamParam in |
// |streams|. |media_type| is the type of the |streams| and can be either |
// audio or video. |