<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>123901</bug_id>
          
          <creation_ts>2013-11-06 10:32:46 -0800</creation_ts>
          <short_desc>[GStreamer] Implement &quot;id&quot; property for in-band audio, text and video tracks</short_desc>
          <delta_ts>2024-02-14 03:04:14 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=162869</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Brendan Long">b.long</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>pnormand</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>947771</commentid>
    <comment_count>0</comment_count>
    <who name="Brendan Long">b.long</who>
    <bug_when>2013-11-06 10:32:46 -0800</bug_when>
    <thetext>TextTrack: http://www.w3.org/TR/html5/embedded-content-0.html#dom-texttrack-id

&gt; The id attribute returns the track&apos;s identifier, if it has one, or the empty string otherwise. For tracks that correspond to track elements, the track&apos;s identifier is the value of the element&apos;s id attribute, if any. For in-band tracks, the track&apos;s identifier is specified by the media resource. If the media resource is in a format that supports the Media Fragments URI fragment identifier syntax, the identifier returned for a particular track must be the same identifier that would enable the track if used as the name of a track in the track dimension of such a fragment identifier.

AudioTrack and VideoTrack: http://www.w3.org/TR/html5/embedded-content-0.html#dom-audiotrack-id

&gt; The AudioTrack.id and VideoTrack.id attributes must return the identifier of the track, if it has one, or the empty string otherwise. If the media resource is in a format that supports the Media Fragments URI fragment identifier syntax, the identifier returned for a particular track must be the same identifier that would enable the track if used as the name of a track in the track dimension of such a fragment identifier.

The only example given is that for Ogg Skeleton, the &quot;id&quot; is the name:

https://wiki.xiph.org/SkeletonHeaders#Name

I&apos;m planning to implement this as:

  * Matroska / WebM: TrackUID
  * MPEG-TS: PID
  * Ogg (without Skeleton): Stream serial number

Unfortunately this needs some work on the GStreamer side to make that information available:

https://bugzilla.gnome.org/show_bug.cgi?id=711522</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2012680</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2024-02-12 06:11:38 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24248</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013468</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-14 03:03:58 -0800</bug_when>
    <thetext>Committed 274623@main (cb24c51631e8): &lt;https://commits.webkit.org/274623@main&gt;

Reviewed commits have been landed. Closing PR #24248 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013469</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-14 03:04:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/122939833&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>