From 8e0fc1720420784274574ccb1020d1e4d69b06fd Mon Sep 17 00:00:00 2001 From: Linus Nilsson Date: Tue, 20 Sep 2022 13:56:45 +0200 Subject: [PATCH] Add a video codec timeout error code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reporting timeouts is useful for native hw backed codec implementations. The value is in sync with VideoCodecStatus.java in the Android sdk. Bug: b/185740707 Change-Id: I9a08a1303586c677be53aaa4f39455f42e519996 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/276042 Reviewed-by: Erik Språng Reviewed-by: Sergey Silkin Auto-Submit: Linus Nilsson Commit-Queue: Erik Språng Cr-Commit-Position: refs/heads/main@{#38168} --- modules/video_coding/include/video_error_codes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/video_coding/include/video_error_codes.h b/modules/video_coding/include/video_error_codes.h index c4f1a00b84..17146ce205 100644 --- a/modules/video_coding/include/video_error_codes.h +++ b/modules/video_coding/include/video_error_codes.h @@ -22,6 +22,7 @@ #define WEBRTC_VIDEO_CODEC_ERROR -1 #define WEBRTC_VIDEO_CODEC_MEMORY -3 #define WEBRTC_VIDEO_CODEC_ERR_PARAMETER -4 +#define WEBRTC_VIDEO_CODEC_TIMEOUT -6 #define WEBRTC_VIDEO_CODEC_UNINITIALIZED -7 #define WEBRTC_VIDEO_CODEC_FALLBACK_SOFTWARE -13 #define WEBRTC_VIDEO_CODEC_ERR_SIMULCAST_PARAMETERS_NOT_SUPPORTED -15