This pull request primarily addresses a bug in the SignalingConnect class within Sora/Signaling.swift. The bug fix ensures that metadata and signaling_notify_metadata are only sent if they are not nil, preventing the unintended transmission of empty objects {}.
Here are the key changes:
CHANGES.md: Added a new entry to document the bug fix in SignalingConnect where metadata and signaling_notify_metadata were being sent as {} if they were nil. This has now been corrected.
Sora/Signaling.swift: Modified the SignalingConnect class to only encode metadata and signaling_notify_metadata if they are not nil. This prevents the transmission of empty objects {}.
修正内容はこちらです。
metadata
,signaling_notify_metadata
が nil の場合に {} として送信されてしまう問題を修正するThis pull request primarily addresses a bug in the
SignalingConnect
class withinSora/Signaling.swift
. The bug fix ensures thatmetadata
andsignaling_notify_metadata
are only sent if they are notnil
, preventing the unintended transmission of empty objects{}
.Here are the key changes:
CHANGES.md
: Added a new entry to document the bug fix inSignalingConnect
wheremetadata
andsignaling_notify_metadata
were being sent as{}
if they werenil
. This has now been corrected.Sora/Signaling.swift
: Modified theSignalingConnect
class to only encodemetadata
andsignaling_notify_metadata
if they are notnil
. This prevents the transmission of empty objects{}
.