From: Haesu Gwon Date: Mon, 26 Sep 2022 08:38:44 +0000 (+0900) Subject: [WebRTC] Fix bug (#4598) X-Git-Tag: submit/tizen/20220926.150922~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c3ed23e5c279d9124ebe81afe69a23dbec68b10;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [WebRTC] Fix bug (#4598) --- diff --git a/src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs b/src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs index df3af9263..3fd50d1ea 100755 --- a/src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs +++ b/src/Tizen.Multimedia.Remoting/WebRTC/MediaSource.cs @@ -262,6 +262,10 @@ namespace Tizen.Multimedia.Remoting NativeWebRTC.ForeachSupportedTransceiverCodec(WebRtc.Handle, MediaSourceType.Null, type, cb). ThrowIfFailed("failed to retrieve stats"); } + catch (ObjectDisposedException) + { + throw; + } catch { Log.Info(WebRTCLog.Tag, "This is not error in csharp.");