Added utcoffset field to metadata to display VoD program time if supported by output
This commit is contained in:
		
							parent
							
								
									19d7c9fe07
								
							
						
					
					
						commit
						684df4b23d
					
				
					 4 changed files with 23 additions and 2 deletions
				
			
		|  | @ -746,6 +746,7 @@ namespace Mist{ | |||
|     } | ||||
|     tsStream.clear(); | ||||
|     // set bootMsOffset in order to display the program time correctly in the player
 | ||||
|     meta.setUTCOffset(streamOffset + (Util::unixMS() - Util::bootMS())); | ||||
|     meta.setBootMsOffset(streamOffset); | ||||
|     return true; | ||||
|   } | ||||
|  | @ -837,8 +838,8 @@ namespace Mist{ | |||
|     } | ||||
| 
 | ||||
|     // set bootMsOffset in order to display the program time correctly in the player
 | ||||
|     meta.setUTCOffset(streamOffset + (Util::unixMS() - Util::bootMS())); | ||||
|     meta.setBootMsOffset(streamOffset); | ||||
| 
 | ||||
|     if (streamIsLive || isLiveDVR){return true;} | ||||
| 
 | ||||
|     // Set local vars used for parsing existing headers
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Marco van Dijk
						Marco van Dijk