Add onPreChangeMedia and improve refreshing
This commit is contained in:
parent
3f959087af
commit
f36d2b0258
5 changed files with 61 additions and 28 deletions
|
|
@ -54,7 +54,14 @@ ChannelModule.prototype = {
|
|||
/**
|
||||
* Called when a chatMsg event is received
|
||||
*/
|
||||
onUserChat: function (user, data, cb) {
|
||||
onUserPreChat: function (user, data, cb) {
|
||||
cb(null, ChannelModule.PASSTHROUGH);
|
||||
},
|
||||
|
||||
/**
|
||||
* Called before a new video begins playing
|
||||
*/
|
||||
onPreMediaChange: function (data, cb) {
|
||||
cb(null, ChannelModule.PASSTHROUGH);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue