mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Move IceCandidateType to candidate.h
Bug: none Change-Id: I3152d36c379ef0b2c8928a0e5750e012157fd26c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/336920 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41711}
This commit is contained in:
parent
951372774b
commit
32f2a30e5e
3 changed files with 6 additions and 8 deletions
|
@ -24,6 +24,10 @@
|
||||||
#include "rtc_base/socket_address.h"
|
#include "rtc_base/socket_address.h"
|
||||||
#include "rtc_base/system/rtc_export.h"
|
#include "rtc_base/system/rtc_export.h"
|
||||||
|
|
||||||
|
namespace webrtc {
|
||||||
|
enum class IceCandidateType : int { kHost, kSrflx, kPrflx, kRelay };
|
||||||
|
} // namespace webrtc
|
||||||
|
|
||||||
namespace cricket {
|
namespace cricket {
|
||||||
|
|
||||||
// TODO(tommi): These are temporarily here, moved from `port.h` and will
|
// TODO(tommi): These are temporarily here, moved from `port.h` and will
|
||||||
|
|
|
@ -688,6 +688,7 @@ rtc_library("ice_log") {
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
":rtc_event_field",
|
":rtc_event_field",
|
||||||
|
"../api:candidate",
|
||||||
"../api:dtls_transport_interface",
|
"../api:dtls_transport_interface",
|
||||||
"../api:libjingle_logging_api",
|
"../api:libjingle_logging_api",
|
||||||
"../api/rtc_event_log",
|
"../api/rtc_event_log",
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "absl/strings/string_view.h"
|
#include "absl/strings/string_view.h"
|
||||||
|
#include "api/candidate.h"
|
||||||
#include "api/rtc_event_log/rtc_event.h"
|
#include "api/rtc_event_log/rtc_event.h"
|
||||||
#include "api/units/timestamp.h"
|
#include "api/units/timestamp.h"
|
||||||
#include "logging/rtc_event_log/events/rtc_event_field_encoding_parser.h"
|
#include "logging/rtc_event_log/events/rtc_event_field_encoding_parser.h"
|
||||||
|
@ -32,14 +33,6 @@ enum class IceCandidatePairConfigType {
|
||||||
kNumValues,
|
kNumValues,
|
||||||
};
|
};
|
||||||
|
|
||||||
// TODO(tommi): Move this definition to candidate.h.
|
|
||||||
enum class IceCandidateType {
|
|
||||||
kHost,
|
|
||||||
kSrflx,
|
|
||||||
kPrflx,
|
|
||||||
kRelay,
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class IceCandidatePairProtocol {
|
enum class IceCandidatePairProtocol {
|
||||||
kUnknown,
|
kUnknown,
|
||||||
kUdp,
|
kUdp,
|
||||||
|
|
Loading…
Reference in a new issue