|
@@ -50,14 +50,14 @@ class SctpTransport;
|
|
|
using certificate_ptr = std::shared_ptr<Certificate>;
|
|
|
using future_certificate_ptr = std::shared_future<certificate_ptr>;
|
|
|
|
|
|
-struct DataChannelInit {
|
|
|
+struct RTC_CPP_EXPORT DataChannelInit {
|
|
|
Reliability reliability = {};
|
|
|
bool negotiated = false;
|
|
|
std::optional<uint16_t> id = nullopt;
|
|
|
string protocol = "";
|
|
|
};
|
|
|
|
|
|
-class PeerConnection final : public std::enable_shared_from_this<PeerConnection> {
|
|
|
+class RTC_CPP_EXPORT PeerConnection final : public std::enable_shared_from_this<PeerConnection> {
|
|
|
public:
|
|
|
enum class State : int {
|
|
|
New = RTC_NEW,
|
|
@@ -203,8 +203,8 @@ private:
|
|
|
|
|
|
} // namespace rtc
|
|
|
|
|
|
-std::ostream &operator<<(std::ostream &out, rtc::PeerConnection::State state);
|
|
|
-std::ostream &operator<<(std::ostream &out, rtc::PeerConnection::GatheringState state);
|
|
|
-std::ostream &operator<<(std::ostream &out, rtc::PeerConnection::SignalingState state);
|
|
|
+RTC_CPP_EXPORT std::ostream &operator<<(std::ostream &out, rtc::PeerConnection::State state);
|
|
|
+RTC_CPP_EXPORT std::ostream &operator<<(std::ostream &out, rtc::PeerConnection::GatheringState state);
|
|
|
+RTC_CPP_EXPORT std::ostream &operator<<(std::ostream &out, rtc::PeerConnection::SignalingState state);
|
|
|
|
|
|
#endif
|