Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to ISOBMFF #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ <h2>MPEG-2 Transport Streams</h2>

<section id='mpeg4'>
<h2>MPEG-4 ISOBMFF</h2>
<b>MIME type/subtype: audio/mp4 , video/mp4</b>
<b>MIME type/subtype: audio/mp4 , video/mp4, application/mp4</b>

<ol>
<li><p>Track Order</p>
Expand All @@ -722,12 +722,12 @@ <h2>MPEG-4 ISOBMFF</h2>

<li><p>Determining the type of track</p>
<p>
A user agent recognises and supports data from a MPEG-4 TrackBox as being equivalent to a HTML track based on the value of the 'handler_type' field in the HandlerBox ('hdlr) of the MediaBox ('mdia') of the TrackBox:
A user agent shall create HTML Track objects from [[ISOMBFF]] tracks based on the value of the <code>handler_type</code> field in the <code>HandlerBox</code> of the <code>MediaBox</code> of the <code>TrackBox</code> of those tracks as follows:
</p>
<ul>
<li>text track: the 'handler_type' value is "meta", "subt" or "text"</li>
<li>video track: the 'handler_type' value is "soun"</li>
<li>audio track: the 'handler_type' value is "vide"</li>
<li>If the <code>handler_type</code> value is <code>meta</code>, <code>subt</code> or <code>text</code>, the user agent shall create a <code>TextTrack</code> object.</li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is much harder to read. I prefer we keep it the other way around.

<li>If the <code>handler_type</code> value is <code>soun</code>, the user agent shall create a <code>AudioTrack</code> object.</li>
<li>If the <code>handler_type</code> value is <code>vide</code>, the user agent shall create a <code>VideoTrack</code> object.</li>
</ul>
</li>

Expand Down Expand Up @@ -773,7 +773,7 @@ <h2>MPEG-4 ISOBMFF</h2>
<tr>
<th>language</th>
<td>
Content of the 'language' field in the MediaHeaderBox.
Content of the <code>language</code> field in the <code>MediaHeaderBox</code> or of the <code>extended_language</code> field in the <code>ExtendedLanguageBox</code> (as defined in ISO/IEC 14496-12:2014/Amd4).
</td>
</tr>
<tr>
Expand Down