Commit 2f8e7813 authored by Kulya's avatar Kulya 😊

kghjkgh

parent f4778d80
Pipeline #179 failed with stages
...@@ -8514,9 +8514,7 @@ tsip_event.prototype.init = function(_, e, t, s, i) { ...@@ -8514,9 +8514,7 @@ tsip_event.prototype.init = function(_, e, t, s, i) {
break; break;
case tsip_event_type_e.MESSAGE: case tsip_event_type_e.MESSAGE:
_.o_session.o_stack.on_event_message && setTimeout(function() { _.o_session.o_stack.on_event_message && setTimeout(function() {
console.log("--== on EVENT MSG:",_) console.log("--== on EVENT MSG:",_)
_.o_session.o_stack.on_event_message(_) _.o_session.o_stack.on_event_message(_)
}, 1); }, 1);
break; break;
...@@ -9343,7 +9341,6 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) { ...@@ -9343,7 +9341,6 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) {
}, SIPml.EventTarget.prototype.removeEventListener = function(_) { }, SIPml.EventTarget.prototype.removeEventListener = function(_) {
tsk_string_is_string(_) && !tsk_string_is_null_or_empty(_) && (this.ao_listeners[_] = void 0) tsk_string_is_string(_) && !tsk_string_is_null_or_empty(_) && (this.ao_listeners[_] = void 0)
}, SIPml.EventTarget.prototype.dispatchEvent = function(_) { }, SIPml.EventTarget.prototype.dispatchEvent = function(_) {
window.console.log("-= DISPATCh Event: ", _, this.ao_listeners);
var e = this.ao_listeners[_.s_type] || this.ao_listeners["*"]; var e = this.ao_listeners[_.s_type] || this.ao_listeners["*"];
e && e.call(this, _.o_value) e && e.call(this, _.o_value)
}, SIPml.Event = function(_, e) { }, SIPml.Event = function(_, e) {
...@@ -9449,7 +9446,6 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) { ...@@ -9449,7 +9446,6 @@ SIPml.EventTarget.prototype.addEventListener = function(_, e) {
}) })
} else tsk_utils_log_warn("Cannot find session with id = " + t) } else tsk_utils_log_warn("Cannot find session with id = " + t)
}, this.o_stack.on_event_message = function(_) { }, this.o_stack.on_event_message = function(_) {
console.log("--=== on_event_message MSG:", _)
var e = null, var e = null,
t = _.o_session.i_id, t = _.o_session.i_id,
s = _.o_session.o_stack.oStack.ao_sessions[t]; s = _.o_session.o_stack.oStack.ao_sessions[t];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment