10000 Updated rtc_dtmf_sender · next-coder/flutter-webrtc@cf18d8b · GitHub
[go: up one dir, main page]

Skip to content

Commit cf18d8b

Browse files
authored
Updated rtc_dtmf_sender
The api call is name insertDTMF https://developer.mozilla.org/en-US/docs/Web/API/RTCDTMFSender/insertDTMF renamed to function call to match with the WebRTC Api.
1 parent 89ed3c6 commit cf18d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/rtc_dtmf_sender.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class RTCDTMFSender {
1818
/// The browser will enforce a minimum value of 30 ms (that is,
1919
/// if you specify a lower value, 30 ms will be used instead);
2020
/// the default is 70 ms.
21-
Future<void> sendDtmf(String tones,
21+
Future<void> insertDTMF(String tones,
2222
{int duration = 100, int interToneGap = 70}) async {
2323
await _channel.invokeMethod('sendDtmf', <String, dynamic>{
2424
'peerConnectionId': _peerConnectionId,

0 commit comments

Comments
 (0)
0