From 1d204b7aaf1efc81a8dab8477beec44a960b9170 Mon Sep 17 00:00:00 2001 From: Haesu Gwon Date: Wed, 6 Jul 2022 14:25:36 +0900 Subject: [PATCH] [WebRTC] Fix DataChannel bug (#4393) --- src/Tizen.Multimedia.Remoting/WebRTC/WebRTCDataChannel.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCDataChannel.cs b/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCDataChannel.cs index d36b713..9a2ded3 100755 --- a/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCDataChannel.cs +++ b/src/Tizen.Multimedia.Remoting/WebRTC/WebRTCDataChannel.cs @@ -117,6 +117,7 @@ namespace Tizen.Multimedia.Remoting /// Gets the amount of buffered data. /// /// The buffered amount in bytes. + /// The WebRTCDataChannel has already been disposed. /// 10 public uint BufferedAmount { @@ -131,12 +132,13 @@ namespace Tizen.Multimedia.Remoting } } - private uint? _bufferThreshold; + private uint? _bufferThreshold = 0; /// /// Gets or sets the threshold of data channel buffered amount.
/// If the amount of buffered data is lower than threshold value, will be occurred.
/// The default value is 0, which means is disabled and will not be raised. ///
+ /// The WebRTCDataChannel has already been disposed. /// 10 public uint BufferedAmountLowThreshold { -- 2.7.4