Skip to content

Commit

Permalink
Fixed build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sipsorcery committed Jan 12, 2025
1 parent befb54d commit 40fd873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/webrtccmdline/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ private async static Task ProcessInput(CancellationTokenSource cts)
Console.WriteLine();
Console.WriteLine($" sending dtmf byte {dtmfByte}.");

var dtmfEvent = new RTPEvent(dtmfByte, true, RTPEvent.DEFAULT_VOLUME, RTPSession.DTMF_EVENT_DURATION, RTPSession.DTMF_EVENT_PAYLOAD_ID);
var dtmfEvent = new RTPEvent(dtmfByte, true, RTPEvent.DEFAULT_VOLUME, RTPSession.DTMF_EVENT_DURATION, _peerConnection.AudioStream.NegotiatedRtpEventPayloadID);
await _peerConnection.SendDtmfEvent(dtmfEvent, CancellationToken.None).ConfigureAwait(false);
}
else
Expand Down

0 comments on commit 40fd873

Please sign in to comment.