@@ -466,7 +466,7 @@ bool Room::trySetOnVideoFrameEventCallback(const std::string& participant_identi
466466
467467void Room::setOnAudioFrameCallback (const std::string& participant_identity, const std::string& track_name,
468468 AudioFrameCallback callback, const AudioStream::Options& opts) {
469- bool result = trySetOnAudioFrameCallback (participant_identity, track_name, std::move (callback), opts);
469+ bool const result = trySetOnAudioFrameCallback (participant_identity, track_name, std::move (callback), opts);
470470 if (!result) {
471471 LK_LOG_ERROR (" Room::setOnAudioFrameCallback: failed to set callback for participant={} track_name={}" ,
472472 participant_identity, track_name);
@@ -475,7 +475,7 @@ void Room::setOnAudioFrameCallback(const std::string& participant_identity, cons
475475
476476void Room::setOnVideoFrameCallback (const std::string& participant_identity, const std::string& track_name,
477477 VideoFrameCallback callback, const VideoStream::Options& opts) {
478- bool result = trySetOnVideoFrameCallback (participant_identity, track_name, std::move (callback), opts);
478+ bool const result = trySetOnVideoFrameCallback (participant_identity, track_name, std::move (callback), opts);
479479 if (!result) {
480480 LK_LOG_ERROR (" Room::setOnVideoFrameCallback: failed to set callback for participant={} track_name={}" ,
481481 participant_identity, track_name);
@@ -484,7 +484,7 @@ void Room::setOnVideoFrameCallback(const std::string& participant_identity, cons
484484
485485void Room::setOnVideoFrameEventCallback (const std::string& participant_identity, const std::string& track_name,
486486 VideoFrameEventCallback callback, const VideoStream::Options& opts) {
487- bool result = trySetOnVideoFrameEventCallback (participant_identity, track_name, std::move (callback), opts);
487+ bool const result = trySetOnVideoFrameEventCallback (participant_identity, track_name, std::move (callback), opts);
488488 if (!result) {
489489 LK_LOG_ERROR (" Room::setOnVideoFrameEventCallback: failed to set callback for participant={} track_name={}" ,
490490 participant_identity, track_name);
0 commit comments