Implemented ES priority flag in accordance with HBBTV spec
This commit is contained in:
		
							parent
							
								
									c78cbc22ea
								
							
						
					
					
						commit
						a73f97e065
					
				
					 3 changed files with 41 additions and 9 deletions
				
			
		|  | @ -39,7 +39,8 @@ namespace Mist { | |||
|         packData.setDiscontinuity(true); | ||||
|         if (myMeta.tracks[thisPacket.getTrackId()].type == "video"){ | ||||
|           if (thisPacket.getInt("keyframe")){ | ||||
|             packData.setRandomAccess(1); | ||||
|             packData.setRandomAccess(true); | ||||
|             packData.setESPriority(true); | ||||
|           }       | ||||
|           packData.setPCR(thisPacket.getTime() * 27000);       | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma