1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #include "public/platform/WebRTCOfferOptions.h"
8 #include "platform/mediastream/RTCOfferOptions.h"
12 WebRTCOfferOptions::WebRTCOfferOptions(const PassRefPtr<RTCOfferOptions>& options)
17 void WebRTCOfferOptions::assign(const WebRTCOfferOptions& other)
19 m_private = other.m_private;
22 void WebRTCOfferOptions::reset()
27 int32_t WebRTCOfferOptions::offerToReceiveVideo() const
30 return m_private->offerToReceiveVideo();
33 int32_t WebRTCOfferOptions::offerToReceiveAudio() const
36 return m_private->offerToReceiveAudio();
39 bool WebRTCOfferOptions::voiceActivityDetection() const
42 return m_private->voiceActivityDetection();
45 bool WebRTCOfferOptions::iceRestart() const
48 return m_private->iceRestart();