diff --git a/output/webrtc/webrtc.cc b/output/webrtc/webrtc.cc index bbfc350..d40b505 100644 --- a/output/webrtc/webrtc.cc +++ b/output/webrtc/webrtc.cc @@ -129,14 +129,14 @@ public: } public: - char *name; + char *name = NULL; std::string id; std::shared_ptr pc; std::shared_ptr video; std::mutex lock; std::condition_variable wait_for_complete; - bool had_key_frame; - bool requested_key_frame; + bool had_key_frame = false; + bool requested_key_frame = false; }; std::shared_ptr findClient(std::string id)