aboutsummaryrefslogtreecommitdiff
path: root/cast/standalone_receiver/streaming_playback_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cast/standalone_receiver/streaming_playback_controller.cc')
-rw-r--r--cast/standalone_receiver/streaming_playback_controller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cast/standalone_receiver/streaming_playback_controller.cc b/cast/standalone_receiver/streaming_playback_controller.cc
index 4a81c7ed..5f6412a4 100644
--- a/cast/standalone_receiver/streaming_playback_controller.cc
+++ b/cast/standalone_receiver/streaming_playback_controller.cc
@@ -89,6 +89,7 @@ void StreamingPlaybackController::OnRemotingNegotiated(
void StreamingPlaybackController::OnReceiversDestroying(
const ReceiverSession* session,
ReceiversDestroyingReason reason) {
+ OSP_LOG_INFO << "Receivers are currently destroying, resetting SDL players.";
audio_player_.reset();
video_player_.reset();
}
@@ -101,6 +102,7 @@ void StreamingPlaybackController::OnError(const ReceiverSession* session,
void StreamingPlaybackController::Initialize(
ReceiverSession::ConfiguredReceivers receivers) {
#if defined(CAST_STANDALONE_RECEIVER_HAVE_EXTERNAL_LIBS)
+ OSP_LOG_INFO << "Successfully negotiated a session, creating SDL players.";
if (receivers.audio_receiver) {
audio_player_ = std::make_unique<SDLAudioPlayer>(
&Clock::now, task_runner_, receivers.audio_receiver,