| Index: chrome/browser/media/webrtc/webrtc_browsertest_base.h
|
| diff --git a/chrome/browser/media/webrtc/webrtc_browsertest_base.h b/chrome/browser/media/webrtc/webrtc_browsertest_base.h
|
| index 5eadac555b97a2cfd0627dcc64e17ddd2a06ce44..f0b670bbd90d14913f407ba4855733db5af46d6a 100644
|
| --- a/chrome/browser/media/webrtc/webrtc_browsertest_base.h
|
| +++ b/chrome/browser/media/webrtc/webrtc_browsertest_base.h
|
| @@ -193,8 +193,13 @@ class WebRtcTestBase : public InProcessBrowserTest {
|
| // Change the default audio/video codec in the offer SDP.
|
| void SetDefaultAudioCodec(content::WebContents* tab,
|
| const std::string& audio_codec) const;
|
| + // |prefer_hw_codec| controls if the first or last codec with name
|
| + // |video_codec| should be selected. External video codecs are currently at
|
| + // the end of the SDP list. This parameter only matters if there are multiple
|
| + // codecs with the same name, which can be the case for H264.
|
| void SetDefaultVideoCodec(content::WebContents* tab,
|
| - const std::string& video_codec) const;
|
| + const std::string& video_codec,
|
| + bool prefer_hw_codec = false) const;
|
|
|
| // Add 'usedtx=1' to the offer SDP.
|
| void EnableOpusDtx(content::WebContents* tab) const;
|
|
|