Modified PeerConnection and WebRtcSession for end-to-end QuicDataChannel usage.
To allow end-to-end QuicDataChannel usage with a PeerConnection, RTCConfiguration has been modified to include a boolean for whether to do QUIC, since negotiation of QUIC is not implemented. If one peer does QUIC, then it will be assumed that the other peer must do QUIC or the connection will fail. PeerConnection has been modified to create data channels of type QuicDataChannel when the peer wants to do QUIC. WebRtcSession has ben modified to use a QuicDataTransport instead of a DtlsTransportChannelWrapper/DataChannel when QUIC should be used QuicDataTransport implements the generic functions of BaseChannel to manage the QuicTransportChannel. Review-Url: https://codereview.webrtc.org/2166873002 Cr-Commit-Position: refs/heads/master@{#13645}
This commit is contained in:
@ -32,7 +32,9 @@ class PeerConnectionTestWrapper
|
||||
rtc::Thread* worker_thread);
|
||||
virtual ~PeerConnectionTestWrapper();
|
||||
|
||||
bool CreatePc(const webrtc::MediaConstraintsInterface* constraints);
|
||||
bool CreatePc(
|
||||
const webrtc::MediaConstraintsInterface* constraints,
|
||||
const webrtc::PeerConnectionInterface::RTCConfiguration& config);
|
||||
|
||||
rtc::scoped_refptr<webrtc::DataChannelInterface> CreateDataChannel(
|
||||
const std::string& label,
|
||||
|
||||
Reference in New Issue
Block a user