This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/examples/peerconnection/client/conductor.cc b/examples/peerconnection/client/conductor.cc | |
index 965525abff..75027ca17e 100644 | |
--- a/examples/peerconnection/client/conductor.cc | |
+++ b/examples/peerconnection/client/conductor.cc | |
@@ -297,6 +297,14 @@ void Conductor::OnPeerDisconnected(int id) { | |
} | |
void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { | |
+ if (!signaling_thread_.get()) { | |
+ signaling_thread_ = rtc::Thread::CreateWithSocketServer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/examples/peerconnection/client/linux/main_wnd.cc b/examples/peerconnection/client/linux/main_wnd.cc | |
index 2be75d8f8d..a1581c67d5 100644 | |
--- a/examples/peerconnection/client/linux/main_wnd.cc | |
+++ b/examples/peerconnection/client/linux/main_wnd.cc | |
@@ -429,8 +429,10 @@ void GtkMainWnd::OnRedraw() { | |
width_ = remote_renderer->width(); | |
height_ = remote_renderer->height(); | |
- if (!draw_buffer_.get()) { | |
- draw_buffer_size_ = (width_ * height_ * 4) * 4; |
OlderNewer