Skip to content

Commit

Permalink
Merge pull request #1573 from canalplus/misc/version-in-debug
Browse files Browse the repository at this point in the history
Add version of the RxPlayer in the debug element
  • Loading branch information
Florent-Bouisset authored Oct 10, 2024
2 parents b21b9ba + 4729866 commit 1da6dd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/api/Miscellaneous/Debug_Element.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ exactly what's going on at a particular point in time.
buffering media) also running in a WebWorker (which should be more efficient but is
supported by less platforms).
- If set to `0`, the playback is in the regular "main" (single thread) mode.
- **v**: Current version of the RxPlayer.
- **ks**: _Key System_. If set, the current key system used to decrypt contents.
- **mbb**: _Max Buffer Behind_. If set, the configured `maxBufferBehind` (amount of
buffer to keep in memory behind the current position, in seconds).
Expand Down
2 changes: 1 addition & 1 deletion src/main_thread/api/debug/modules/general_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default function constructDebugGeneralInfo(
valuesLine1.push(["wo", "0"]);
}

const valuesLine2: Array<[string, string]> = [];
const valuesLine2: Array<[string, string]> = [["v", instance.version]];
const ks = instance.getKeySystemConfiguration();
if (ks !== null) {
valuesLine2.push(["ks", ks.keySystem]);
Expand Down

0 comments on commit 1da6dd4

Please sign in to comment.