Fix for slow SRT pushes
This commit is contained in:
		
							parent
							
								
									96f586678f
								
							
						
					
					
						commit
						7d55a3f1c4
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
					@ -335,6 +335,13 @@ namespace Mist{
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      // Reconnect to meta if needed, restart push if needed
 | 
				
			||||||
 | 
					      meta.reloadReplacedPagesIfNeeded();
 | 
				
			||||||
 | 
					      if (!meta && !allowPush("")){
 | 
				
			||||||
 | 
					        onFinish();
 | 
				
			||||||
 | 
					        return;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      tsIn.initializeMetadata(meta);
 | 
					      tsIn.initializeMetadata(meta);
 | 
				
			||||||
      size_t thisIdx = M.trackIDToIndex(thisPacket.getTrackId(), getpid());
 | 
					      size_t thisIdx = M.trackIDToIndex(thisPacket.getTrackId(), getpid());
 | 
				
			||||||
      if (thisIdx == INVALID_TRACK_ID){return;}
 | 
					      if (thisIdx == INVALID_TRACK_ID){return;}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue