mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Replace uses of rtc:: and cricket:: namespaces
PiperOrigin-RevId: 756184076
This commit is contained in:
@@ -65,7 +65,7 @@ Exception WebRtcSocket::OutputStreamImpl::Close() {
|
||||
// WebRtcSocket
|
||||
WebRtcSocket::WebRtcSocket(
|
||||
const std::string& name,
|
||||
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel)
|
||||
webrtc::scoped_refptr<webrtc::DataChannelInterface> data_channel)
|
||||
: name_(name), data_channel_(std::move(data_channel)) {
|
||||
NEARBY_LOGS(INFO) << "WebRtcSocket::WebRtcSocket(" << name_
|
||||
<< ") this: " << this;
|
||||
|
||||
@@ -46,8 +46,9 @@ constexpr int kMaxDataSize = 1 * 1024 * 1024;
|
||||
// which could lead to data loss.
|
||||
class WebRtcSocket : public Socket, public webrtc::DataChannelObserver {
|
||||
public:
|
||||
WebRtcSocket(const std::string& name,
|
||||
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel);
|
||||
WebRtcSocket(
|
||||
const std::string& name,
|
||||
webrtc::scoped_refptr<webrtc::DataChannelInterface> data_channel);
|
||||
~WebRtcSocket() override;
|
||||
|
||||
WebRtcSocket(const WebRtcSocket& other) = delete;
|
||||
@@ -100,7 +101,7 @@ class WebRtcSocket : public Socket, public webrtc::DataChannelObserver {
|
||||
void OffloadFromSignalingThread(Runnable runnable);
|
||||
|
||||
std::string name_;
|
||||
rtc::scoped_refptr<webrtc::DataChannelInterface> data_channel_;
|
||||
webrtc::scoped_refptr<webrtc::DataChannelInterface> data_channel_;
|
||||
|
||||
std::unique_ptr<InputStream> pipe_input_;
|
||||
std::unique_ptr<OutputStream> pipe_output_;
|
||||
|
||||
Reference in New Issue
Block a user