webrtcdatachannel: Emit 'on-close' signal when calling 'close' action signal 92/273692/2
authorSangchul Lee <sc11.lee@samsung.com>
Tue, 12 Apr 2022 07:15:15 +0000 (16:15 +0900)
committerSangchul Lee <sc11.lee@samsung.com>
Tue, 12 Apr 2022 10:19:59 +0000 (19:19 +0900)
commita6cf067742c1206c073b5e0fe26386a09fda8769
treea78a45b710426fbbff4ad9427acf08b7890c5485
parentf4f68d9200e179443ced5c647032c73eb5480a18
webrtcdatachannel: Emit 'on-close' signal when calling 'close' action signal

Previously, peer_closed variable set in _on_sctp_stream_reset() was a condition
to trigger the 'on-close' signal. To emit the 'on-close' signal also when after
calling 'close' action, the condition is removed.

[Version] 1.20.0-15
[Issue Type] Improvement

Change-Id: Ia592f005031490119996ed38ecdada703cf11cc0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
packaging/gstreamer.spec
subprojects/gst-plugins-bad/ext/webrtc/webrtcdatachannel.c
subprojects/gst-plugins-bad/ext/webrtc/webrtcdatachannel.h