Fix websockets pausing and then playing when the live point is out of the DVR window
This commit is contained in:
		
							parent
							
								
									56dc2db051
								
							
						
					
					
						commit
						a1737cdf8b
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -577,6 +577,8 @@ namespace Mist{
 | 
				
			||||||
      parseData = true;
 | 
					      parseData = true;
 | 
				
			||||||
      if (command.isMember("seek_time")){
 | 
					      if (command.isMember("seek_time")){
 | 
				
			||||||
        handleWebsocketSeek(command);
 | 
					        handleWebsocketSeek(command);
 | 
				
			||||||
 | 
					      }else{
 | 
				
			||||||
 | 
					        if (M.getLive() && currentTime() < startTime()){initialSeek();}
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      return true;
 | 
					      return true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue