mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Export IceConfig
Despite being in an "internal" header, IceTransportInternal is already exported and used outside WebRTC. IceConfig is a counterpart to IceTransportInternal, so they should be either exported or not exported together. See https://chromium-review.googlesource.com/c/chromium/src/+/4980065/comment/a3a77a56_6d6c2c84/ Bug: chromium:1394755, webrtc:15609 Change-Id: I750d0de81da6ad50fade15d8f7cc57b1ca89e4be Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325220 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: David Benjamin <davidben@webrtc.org> Auto-Submit: David Benjamin <davidben@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41029}
This commit is contained in:
parent
a26d6ed26f
commit
bcaaefdcfc
1 changed files with 5 additions and 1 deletions
|
@ -105,7 +105,9 @@ webrtc::RTCError VerifyCandidates(const Candidates& candidates);
|
|||
// Information about ICE configuration.
|
||||
// TODO(deadbeef): Use absl::optional to represent unset values, instead of
|
||||
// -1.
|
||||
struct IceConfig {
|
||||
//
|
||||
// TODO(bugs.webrtc.org/15609): Define a public API for this.
|
||||
struct RTC_EXPORT IceConfig {
|
||||
// The ICE connection receiving timeout value in milliseconds.
|
||||
absl::optional<int> receiving_timeout;
|
||||
// Time interval in milliseconds to ping a backup connection when the ICE
|
||||
|
@ -234,6 +236,8 @@ enum class IceTransportState {
|
|||
// Once the public interface is supported,
|
||||
// (https://www.w3.org/TR/webrtc/#rtcicetransport)
|
||||
// the IceTransportInterface will be split from this class.
|
||||
//
|
||||
// TODO(bugs.webrtc.org/15609): Define a public API for this.
|
||||
class RTC_EXPORT IceTransportInternal : public rtc::PacketTransportInternal {
|
||||
public:
|
||||
IceTransportInternal();
|
||||
|
|
Loading…
Reference in a new issue