mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
Handle MS_VIDEO_DECODER_RECOVERED_FROM_ERRORS events.
This commit is contained in:
parent
de812274e7
commit
e73d6676d1
2 changed files with 8 additions and 2 deletions
|
|
@ -1578,12 +1578,18 @@ static void video_stream_event_cb(void *user_pointer, const MSFilter *f, const u
|
|||
LinphoneCall* call = (LinphoneCall*) user_pointer;
|
||||
switch (event_id) {
|
||||
case MS_VIDEO_DECODER_DECODING_ERRORS:
|
||||
ms_warning("Case is MS_VIDEO_DECODER_DECODING_ERRORS");
|
||||
ms_warning("MS_VIDEO_DECODER_DECODING_ERRORS");
|
||||
if (call->videostream && (video_stream_is_decoding_error_to_be_reported(call->videostream, 5000) == TRUE)) {
|
||||
video_stream_decoding_error_reported(call->videostream);
|
||||
linphone_call_send_vfu_request(call);
|
||||
}
|
||||
break;
|
||||
case MS_VIDEO_DECODER_RECOVERED_FROM_ERRORS:
|
||||
ms_message("MS_VIDEO_DECODER_RECOVERED_FROM_ERRORS");
|
||||
if (call->videostream) {
|
||||
video_stream_decoding_error_recovered(call->videostream);
|
||||
}
|
||||
break;
|
||||
case MS_VIDEO_DECODER_FIRST_IMAGE_DECODED:
|
||||
ms_message("First video frame decoded successfully");
|
||||
if (call->nextVideoFrameDecoded._func != NULL)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit aa511d1ba37bea8e65983374f2968856bf109a6a
|
||||
Subproject commit 8a55c6ea69456f876fedd4b28594fe0c5c413860
|
||||
Loading…
Add table
Reference in a new issue