Index: chrome/browser/media/webrtc_browsertest_base.h |
diff --git a/chrome/browser/media/webrtc_browsertest_base.h b/chrome/browser/media/webrtc_browsertest_base.h |
index d4d6dcd495d24c8b74fc0daa8cb6c4d5dd75f20c..68fd0e717655f10c41d811210f69385e325bccb9 100644 |
--- a/chrome/browser/media/webrtc_browsertest_base.h |
+++ b/chrome/browser/media/webrtc_browsertest_base.h |
@@ -129,8 +129,10 @@ |
// If |video_codec| is not |kUseDefaultVideoCodec|, the SDP offer is modified |
// (and SDP answer verified) so that the specified video codec (case-sensitive |
// name) is used during the call instead of the default one. |
- void NegotiateCall(content::WebContents* from_tab, |
- content::WebContents* to_tab) const; |
+ void NegotiateCall( |
+ content::WebContents* from_tab, |
+ content::WebContents* to_tab, |
+ const std::string& video_codec = kUseDefaultVideoCodec) const; |
// Hangs up a negotiated call. |
void HangUp(content::WebContents* from_tab) const; |
@@ -164,20 +166,17 @@ |
void GenerateAndCloneCertificate(content::WebContents* tab, |
const std::string& keygen_algorithm) const; |
- // Change the default video codec in the offer SDP. |
- void SetDefaultVideoCodec(content::WebContents* tab, |
- const std::string& video_codec) const; |
- |
- // Add 'usedtx=1' to the offer SDP. |
- void EnableOpusDtx(content::WebContents* tab) const; |
- |
private: |
void CloseInfoBarInTab(content::WebContents* tab_contents, |
infobars::InfoBar* infobar) const; |
- std::string CreateLocalOffer(content::WebContents* from_tab) const; |
- std::string CreateAnswer(std::string local_offer, |
- content::WebContents* to_tab) const; |
+ std::string CreateLocalOffer( |
+ content::WebContents* from_tab, |
+ std::string default_video_codec = kUseDefaultVideoCodec) const; |
+ std::string CreateAnswer( |
+ std::string local_offer, |
+ content::WebContents* to_tab, |
+ std::string default_video_codec = kUseDefaultVideoCodec) const; |
void ReceiveAnswer(const std::string& answer, |
content::WebContents* from_tab) const; |
void GatherAndSendIceCandidates(content::WebContents* from_tab, |