mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 07:37:51 +01:00

This includes a refactoring of jseptransport to store a refcounted object instead of a std::unique_ptr to the cricket::DtlsTransport. Bug: chromium:907849 Change-Id: Ib557ce72c2e6ce8af297c2b8deb7ec3a103d6d31 Reviewed-on: https://webrtc-review.googlesource.com/c/111920 Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25831}
30 lines
1 KiB
C++
30 lines
1 KiB
C++
/*
|
|
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef API_DTLSTRANSPORTINTERFACE_H_
|
|
#define API_DTLSTRANSPORTINTERFACE_H_
|
|
|
|
#include "rtc_base/refcount.h"
|
|
|
|
namespace webrtc {
|
|
|
|
// A DTLS transport, as represented to the outside world.
|
|
// Its role is to report state changes and errors, and make sure information
|
|
// about remote certificates is available.
|
|
class DtlsTransportInterface : public rtc::RefCountInterface {
|
|
public:
|
|
// TODO(hta): Need a notifier interface to transmit state changes and
|
|
// error events. The generic NotifierInterface of mediasteraminterface.h
|
|
// may be suitable, or may be copyable.
|
|
};
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // API_DTLSTRANSPORTINTERFACE_H_
|