blob: 3f0f18b7c39277a5618056ddc051d72d4eecf5f4 [file] [log] [blame]
Tests RTCDTMFSender.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS navigator.webkitGetUserMedia({audio:true}, gotStream, error); did not throw exception.
PASS Stream generated.
PASS stream.getAudioTracks().length is 1
PASS stream.getVideoTracks().length is 0
PASS pc is connected
PASS dtmfsender = pc.createDTMFSender(track); threw exception SyntaxError: An invalid or illegal string was specified..
PASS dtmfsender = pc.createDTMFSender(track); did not throw exception.
PASS dtmfsender.canInsertDTMF is true
PASS dtmfsender.toneBuffer is "1"
PASS ontonechange was called.
PASS event.tone is "1"
PASS ontonechange was called.
PASS event.tone is ""
PASS successfullyParsed is true
TEST COMPLETE