Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions Packages/StreamVideo/Runtime/Core/LowLevelClient/RtcSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1598,14 +1598,16 @@ private async void OnPublisherNegotiationNeeded()
//This is most likely issue with the webRTC lib
if (_config.Audio.EnableDtx)
{
offer = new RTCSessionDescription()
{
type = offer.type,
sdp = _sdpMungeUtils.ModifySdp(offer.sdp, enableRed: false, _config.Audio.EnableDtx)
};

_logs.Info(
$"Modified SDP, enable red: {_config.Audio.EnableRed}, enable DTX: {_config.Audio.EnableDtx} ");
_logs.Error($"The {nameof(IStreamAudioConfig)} option {nameof(IStreamAudioConfig.EnableDtx)} is temporarily disabled and was ignored. " +
$"This error only notifies that this particular setting does not have any effect currently. Send a support ticket if you need this feature.");
// offer = new RTCSessionDescription()
// {
// type = offer.type,
// sdp = _sdpMungeUtils.ModifySdp(offer.sdp, enableRed: false, _config.Audio.EnableDtx)
// };
//
// _logs.Info(
// $"Modified SDP, enable red: {_config.Audio.EnableRed}, enable DTX: {_config.Audio.EnableDtx} ");
}

try
Expand Down
Loading