Disabled USER_NEW for INPUT and OUTPUT type connections. Only real viewers trigger USER_NEW now.
This commit is contained in:
parent
5759dbef0f
commit
089940145e
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ namespace Mist {
|
|||
recursing = true;
|
||||
IPC::statExchange tmpEx(statsPage.getData());
|
||||
if (tmpEx.getSync() == 2 || force){
|
||||
if(Triggers::shouldTrigger("USER_NEW", streamName)){
|
||||
if (getStatsName() == capa["name"].asStringRef() && Triggers::shouldTrigger("USER_NEW", streamName)){
|
||||
//sync byte 0 = no sync yet, wait for sync from controller...
|
||||
unsigned int i = 0;
|
||||
tmpEx.setSync(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue