mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
change callback prototype on js (will break all callback scripts)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6995 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -147,7 +147,7 @@ function SpeechDetect(session, mod, ip) {
|
||||
}
|
||||
|
||||
/* Callback function for streaming,TTS or bridged calls */
|
||||
this.onInput = function(type, inputEvent, _this) {
|
||||
this.onInput = function(s, type, inputEvent, _this) {
|
||||
if (type == "event") {
|
||||
var speech_type = inputEvent.getHeader("Speech-Type");
|
||||
var rv = new Array();
|
||||
|
Reference in New Issue
Block a user