Open Bug 2039478 Opened 6 months ago

Replace use of deprecated libwebrtc code

Categories

(Core :: WebRTC, task, P2)

task

Tracking

()

People

(Reporter: ng, Unassigned)

References

(Blocks 1 open bug)

Details

The compiler is providing the following use of deprecated code warnings:

 0:25.60 W ./../../../../dom/media/webrtc/MediaEngineWebRTCAudio.cpp:1039:24: warning: 'voice_detected' is deprecated: bugs.webrtc.org/11226 [-Wdeprecated-declarations]
 0:25.60 W  1039 |       AddIfValue("%d", voice_detected);
 0:25.60 W       |                        ^
 0:25.60 W /home/ng/dev/mozilla-unified/third_party/libwebrtc/api/audio/audio_processing_statistics.h:38:5: note: 'voice_detected' has been explicitly marked deprecated here
 0:25.60 W    38 |   [[deprecated("bugs.webrtc.org/11226")]] std::optional<bool> voice_detected;
 0:25.60 W       |     ^
 0:25.60 W ./../../../../dom/media/webrtc/MediaEngineWebRTCAudio.cpp:1039:24: warning: 'voice_detected' is deprecated: bugs.webrtc.org/11226 [-Wdeprecated-declarations]
 0:25.60 W  1039 |       AddIfValue("%d", voice_detected);
 0:25.61 W       |                        ^
 0:25.61 W /home/ng/dev/mozilla-unified/third_party/libwebrtc/api/audio/audio_processing_statistics.h:38:5: note: 'voice_detected' has been explicitly marked deprecated here
 0:25.61 W    38 |   [[deprecated("bugs.webrtc.org/11226")]] std::optional<bool> voice_detected;
 0:25.61 W       |     ^
 0:27.71 W ./../../../../../dom/media/webrtc/libwebrtcglue/WebrtcMediaDataEncoderCodec.cpp:150:7: warning: 'BitrateAdjuster' is deprecated [-Wdeprecated-declarations]
 0:27.71 W   150 |       mBitrateAdjuster(0.5, 0.95) {
 0:27.71 W       |       ^
 0:27.71 W /home/ng/dev/mozilla-unified/third_party/libwebrtc/common_video/include/bitrate_adjuster.h:40:3: note: 'BitrateAdjuster' has been explicitly marked deprecated here
 0:27.71 W    40 |   ABSL_DEPRECATE_AND_INLINE()
 0:27.71 W       |   ^
 0:27.71 W /home/ng/dev/mozilla-unified/third_party/abseil-cpp/absl/base/macros.h:201:39: note: expanded from macro 'ABSL_DEPRECATE_AND_INLINE'
 0:27.71 W   201 | #define ABSL_DEPRECATE_AND_INLINE() [[deprecated, clang::annotate("inline-me")]]
You need to log in before you can comment on or make changes to this bug.