More DASH edits
This commit is contained in:
		
							parent
							
								
									84091f4ec8
								
							
						
					
					
						commit
						1dbac0d11a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -406,7 +406,7 @@ namespace Mist{ | |||
|     r << "start=\"PT0S\">" << std::endl; | ||||
|     if (vidInitTrack){ | ||||
|       DTSC::Track & trackRef = myMeta.tracks[vidInitTrack]; | ||||
|       r << "    <AdaptationSet mimeType=\"video/mp4\" width=\"" << trackRef.width << "\" height=\"" << trackRef.height << "\" frameRate=\"" << trackRef.fpks / 1000 << "\" segmentAlignment=\"true\" startWithSAP=\"1\" subsegmentAlignment=\"true\" subsegmentStartsWithSAP=\"1\">" << std::endl; | ||||
|       r << "    <AdaptationSet group=\"1\" id=\"9998\" mimeType=\"video/mp4\" width=\"" << trackRef.width << "\" height=\"" << trackRef.height << "\" frameRate=\"" << trackRef.fpks / 1000 << "\" segmentAlignment=\"true\" startWithSAP=\"1\" subsegmentAlignment=\"true\" subsegmentStartsWithSAP=\"1\">" << std::endl; | ||||
|       r << "      <SegmentTemplate timescale=\"1000\" media=\"chunk_$RepresentationID$_$Time$.m4s\" initialization=\"chunk_$RepresentationID$_init.m4s\">" << std::endl; | ||||
|       r << "        <SegmentTimeline>" << std::endl; | ||||
|       addSegmentTimeline(r, trackRef, myMeta.live); | ||||
|  | @ -433,7 +433,7 @@ namespace Mist{ | |||
|     } | ||||
|     if (audInitTrack){ | ||||
|       DTSC::Track & trackRef = myMeta.tracks[audInitTrack]; | ||||
|       r << "    <AdaptationSet mimeType=\"audio/mp4\" segmentAlignment=\"true\" startWithSAP=\"1\" subsegmentAlignment=\"true\" subsegmentStartsWithSAP=\"1\" >" << std::endl; | ||||
|       r << "    <AdaptationSet group=\"2\" id=\"9999\" mimeType=\"audio/mp4\" segmentAlignment=\"true\" startWithSAP=\"1\" subsegmentAlignment=\"true\" subsegmentStartsWithSAP=\"1\" >" << std::endl; | ||||
|       r << "      <Role schemeIdUri=\"urn:mpeg:dash:role:2011\" value=\"main\"/>" << std::endl; | ||||
|       r << "      <SegmentTemplate timescale=\"1000\" media=\"chunk_$RepresentationID$_$Time$.m4s\" initialization=\"chunk_$RepresentationID$_init.m4s\">" << std::endl; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma