@@ -374,46 +374,20 @@ class LIVEKIT_API Room {
374374 // / @deprecated Use trySetOnAudioFrameCallback() instead.
375375 // /
376376 // / Forwards to @ref trySetOnAudioFrameCallback and discards the result.
377- // / Replacing an active callback is not supported through this overload; call
378- // / @ref clearOnAudioFrameCallback first, then @ref trySetOnAudioFrameCallback.
379- // /
380- // / @param participant_identity Identity of the remote participant.
381- // / @param track_name Track name to match.
382- // / @param callback Function invoked for each decoded audio frame.
383- // / @param opts Options used when creating the backing
384- // / @ref AudioStream.
385377 [[deprecated("Room::setOnAudioFrameCallback is deprecated; use trySetOnAudioFrameCallback instead")]]
386378 void setOnAudioFrameCallback (const std::string& participant_identity, const std::string& track_name,
387379 AudioFrameCallback callback, const AudioStream::Options& opts = {});
388380
389381 // / @deprecated Use trySetOnVideoFrameCallback() instead.
390382 // /
391383 // / Forwards to @ref trySetOnVideoFrameCallback and discards the result.
392- // / Replacing an active callback is not supported through this overload; call
393- // / @ref clearOnVideoFrameCallback first, then @ref trySetOnVideoFrameCallback.
394- // /
395- // / @param participant_identity Identity of the remote participant.
396- // / @param track_name Track name to match.
397- // / @param callback Function invoked for each decoded video frame.
398- // / @param opts Options used when creating the backing
399- // / @ref VideoStream.
400384 [[deprecated("Room::setOnVideoFrameCallback is deprecated; use trySetOnVideoFrameCallback instead")]]
401385 void setOnVideoFrameCallback (const std::string& participant_identity, const std::string& track_name,
402386 VideoFrameCallback callback, const VideoStream::Options& opts = {});
403387
404388 // / @deprecated Use trySetOnVideoFrameEventCallback() instead.
405389 // /
406390 // / Forwards to @ref trySetOnVideoFrameEventCallback and discards the result.
407- // / Replacing an active callback is not supported through this overload; call
408- // / @ref clearOnVideoFrameCallback first, then
409- // / @ref trySetOnVideoFrameEventCallback.
410- // /
411- // / @param participant_identity Identity of the remote participant.
412- // / @param track_name Track name to match.
413- // / @param callback Function invoked for each decoded video frame
414- // / event, including optional metadata.
415- // / @param opts Options used when creating the backing
416- // / @ref VideoStream.
417391 [[deprecated("Room::setOnVideoFrameEventCallback is deprecated; use trySetOnVideoFrameEventCallback instead")]]
418392 void setOnVideoFrameEventCallback (const std::string& participant_identity, const std::string& track_name,
419393 VideoFrameEventCallback callback, const VideoStream::Options& opts = {});
0 commit comments