1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
   59
   60
   61
   62
   63
   64
   65
   66
   67
   68
   69
   70
   71
   72
   73
   74
   75
   76
   77
   78
   79
   80
   81
   82
   83
   84
   85
   86
   87
   88
   89
   90
   91
   92
   93
   94
   95
   96
   97
   98
   99
  100
  101
  102
  103
  104
  105
  106
  107
  108
  109
  110
  111
  112
  113
  114
  115
  116
  117
  118
  119
  120
  121
  122
  123
  124
  125
  126
  127
  128
  129
  130
  131
  132
  133
  134
  135
  136
  137
  138
  139
  140
  141
  142
  143
  144
  145
  146
  147
  148
  149
  150
  151
  152
  153
  154
  155
  156
  157
  158
  159
  160
  161
  162
  163
  164
  165
  166
  167
  168
  169
  170
  171
  172
  173
  174

content / browser / resources / media / media_internals.html [blame]

<!--
Copyright 2013 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Media Internals</title>
  <link rel="stylesheet" href="media_internals.css">
  <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
</head>

<body>
  <cr-tab-box hidden>
    <div slot="tab">Players</div>
    <div slot="tab">Audio</div>
    <div slot="tab">Video Capture</div>
    <div slot="tab">Audio Focus</div>
    <div slot="tab">CDMs</div>
    <div slot="panel" id="players">
      <button id="save-log-button" title="Save all player logs into a file." style="display:none">Save log</button>
      <button id="hide-players-button" title="Hide all players in the current view." stype="display:inline-block">Hide players</button>
      <button id="copy-all-player-button">Copy all to clipboard</button>
      <div id="list-wrapper">
        <div id="player-list-wrapper">
          <h2>Recent Players</h2>
          <ul id="player-list" class="show-none-if-empty"></ul>
        </div>
      </div>
      <div class="property-wrapper">
        <h2>
          Player Properties
          <button class="copy-properties-button">Copy to clipboard</button>
        </h2>
        <table id="player-property-table">
          <thead>
            <tr>
              <th>Property</th>
              <th>Value</th>
            </tr>
          </thead>
          <tbody></tbody>
        </table>
      </div>
      <div id="log-wrapper">
        <h2>
          Log <input id="filter-text" type="text" placeholder="property filter">
          <button class="copy-log-button">Copy to clipboard</button>
        </h2>
        <table id="log">
          <thead>
            <tr>
              <th class="timestamp">Timestamp</th>
              <th>Property</th>
              <th>Value</th>
            </tr>
          </thead>
          <tbody></tbody>
        </table>
      </div>
      <ul id="graphs"></ul>
    </div>
    <div slot="panel" id="audio">
      <button id="copy-all-audio-button">Copy all to clipboard</button>
      <div>
        <h2>General Information</h2>
        <table id="general-audio-info-table">
          <thead>
            <tr>
              <th>Property</th>
              <th>Value</th>
            </tr>
          </thead>
          <tbody></tbody>
        </table>
      </div>
      <div id="audio-component-list-wrapper">
        <h2>Input Controllers</h2>
        <ul id="audio-input-controller-list" class="show-none-if-empty"></ul>
      </div>
      <div id="audio-component-list-wrapper">
        <h2>Output Controllers</h2>
        <ul id="audio-output-controller-list" class="show-none-if-empty"></ul>
      </div>
      <div id="audio-component-list-wrapper">
        <h2>Output Streams</h2>
        <ul id="audio-output-stream-list" class="show-none-if-empty"></ul>
      </div>
      <div class="property-wrapper">
        <h2>
          <span id="audio-property-name"></span> Properties
          <button class="copy-properties-button">Copy to clipboard</button>
        </h2>
        <table id="audio-property-table">
          <thead>
            <tr>
              <th>Property</th>
              <th>Value</th>
            </tr>
          </thead>
          <tbody></tbody>
        </table>
      </div>
    </div>
    <div slot="panel" id="video-capture">
      <div id="video-capture-capabilities-wrapper">
        <h2>
          <span>Video Capture Device Capabilities</span>
          <button id="video-capture-capabilities-copy-button">
            Copy to clipboard
          </button>
        </h2>
        <table id="video-capture-capabilities-table">
          <thead>
            <tr>
              <th>Device Name</th>
              <th>Formats</th>
              <th>Capture API</th>
              <th>Pan-Tilt-Zoom</th>
              <th>Device ID</th>
            </tr>
          </thead>
          <tbody id="video-capture-capabilities-tbody" class="show-none-if-empty"></tbody>
        </table>
      </div>
    </div>
    <div slot="panel" id="audio-focus">
      <div id="list-wrapper">
        <h2>Active Sessions</h2>
        <ul id="audio-focus-session-list" class="show-none-if-empty"></ul>
      </div>
      <template id="audio-focus-session-row">
        <li>
          <label class="audio-focus-session">
            <span class="player-name"></span><br />
            <span class="player-frame"></span><br />
            <span class="player-desc"></span>
          </label>
        </li>
      </template>
    </div>
    <div slot="panel" id="cdms">
      <div id="list-wrapper">
        <h2>Registered Content Decryption Modules</h2>
        <ul>
          <li>Clear Key ("org.w3.clearkey") is always supported and not listed
            here.</li>
          <li>Empty video codec profile list means we are not differentiating
            and assume all profiles are supported.</li>
          <li>Codecs marked with "*" signals clear lead not supported.</li>
        </ul>
        <ul id="cdm-list" class="show-none-if-empty"></ul>
      </div>
      <template id="cdm-row">
        <li>
          <label class="cdm">
            <span class="key-system"></span><br />
            <span class="robustness"></span><br />
            <span class="name"></span><br />
            <span class="version"></span><br />
            <span class="path"></span><br />
            <span class="capability-status"></span><br />
            <span class="capability"></span><br />
          </label>
        </li>
      </template>
    </div>
  </cr-tab-box>
  <script type="module" src="media_internals.js"></script>
</body>
</html>