Skip to content

Commit 40fd873

Browse files
committed
Fixed build.
1 parent befb54d commit 40fd873

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/webrtccmdline/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ private async static Task ProcessInput(CancellationTokenSource cts)
531531
Console.WriteLine();
532532
Console.WriteLine($" sending dtmf byte {dtmfByte}.");
533533

534-
var dtmfEvent = new RTPEvent(dtmfByte, true, RTPEvent.DEFAULT_VOLUME, RTPSession.DTMF_EVENT_DURATION, RTPSession.DTMF_EVENT_PAYLOAD_ID);
534+
var dtmfEvent = new RTPEvent(dtmfByte, true, RTPEvent.DEFAULT_VOLUME, RTPSession.DTMF_EVENT_DURATION, _peerConnection.AudioStream.NegotiatedRtpEventPayloadID);
535535
await _peerConnection.SendDtmfEvent(dtmfEvent, CancellationToken.None).ConfigureAwait(false);
536536
}
537537
else

0 commit comments

Comments
 (0)