diff options
Diffstat (limited to 'cast/streaming/session_messager.cc')
-rw-r--r-- | cast/streaming/session_messager.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cast/streaming/session_messager.cc b/cast/streaming/session_messager.cc index 126f7218..184da30c 100644 --- a/cast/streaming/session_messager.cc +++ b/cast/streaming/session_messager.cc @@ -180,6 +180,8 @@ void SenderSessionMessager::OnMessage(const std::string& source_id, return; } + OSP_DVLOG << "Received a valid reply from " << source_id + << ". Reply body: " << message; it->second(std::move(receiver_message.value({}))); // Calling the function callback may result in the checksum of the pointed @@ -266,6 +268,8 @@ void ReceiverSessionMessager::OnMessage(const std::string& source_id, if (it == callbacks_.end()) { OSP_DLOG_INFO << "Received message without a callback, dropping"; } else { + OSP_DVLOG << "Received valid message from " << source_id + << ", executing callback. Message body: " << message; it->second(sender_message.value()); } } |