Skip to content

Commit 1800356

Browse files
committed
v0.8.0-13
1 parent f1e282e commit 1800356

4 files changed

Lines changed: 161 additions & 150 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.0-13] - 2026-08-30
11+
12+
### Fixed
13+
- Media/OSD operations
14+
- Spelling of `videoSourceConfigurationToken`
15+
- Don't test for `options.fontColor.X` etc as 0 is a valid value
16+
1017
## [0.8.0-12] - 2026-06-21
18+
19+
### Added
1120
- Add support for AddEventBroker()
1221

1322
## [0.8.0-11] - 2026-04-17
23+
24+
### Fixed
1425
- Fix tests
1526

1627
## [0.8.0-10] - 2025-06-26

‎lib/media.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,7 @@ module.exports = function(Cam) {
14141414
, body: this._envelopeHeader() +
14151415

14161416
'<GetOSDOptions xmlns="' + mediaNS + '" >' +
1417-
'<ConfigurationToken>' + (options.videoSourceConfiguationToken || this.activeSource.videoSourceConfigurationToken) + '</ConfigurationToken>' +
1417+
'<ConfigurationToken>' + (options.videoSourceConfigurationToken || this.activeSource.videoSourceConfigurationToken) + '</ConfigurationToken>' +
14181418
'</GetOSDOptions>' +
14191419
this._envelopeFooter()
14201420
}, function(err, data, xml) {
@@ -1467,7 +1467,7 @@ module.exports = function(Cam) {
14671467
, body: this._envelopeHeader() +
14681468
`<wsdl:CreateOSD xmlns:wsdl="${mediaNS}" xmlns:sch="http://www.onvif.org/ver10/schema">
14691469
<wsdl:OSD token="">
1470-
<sch:VideoSourceConfigurationToken>${options.videoSourceConfiguationToken || this.activeSource.videoSourceConfigurationToken}</sch:VideoSourceConfigurationToken>
1470+
<sch:VideoSourceConfigurationToken>${options.videoSourceConfigurationToken || this.activeSource.videoSourceConfigurationToken}</sch:VideoSourceConfigurationToken>
14711471
<sch:Type>Text</sch:Type>
14721472
<sch:Position>
14731473
<sch:Type>${ typeof options.position === "object" ? "Custom" : options.position ? options.position : "LowerLeft"}</sch:Type>
@@ -1482,7 +1482,7 @@ module.exports = function(Cam) {
14821482
<sch:PlainText>${options.plaintext}</sch:PlainText>`}
14831483
14841484
${options.fontSize ? `<sch:FontSize>${options.fontSize}</sch:FontSize>` : ""}
1485-
${ options.fontColor && options.fontColor.X && options.fontColor.Y && options.fontColor.Z ?
1485+
${ options.fontColor ?
14861486
`
14871487
<sch:FontColor>
14881488
${ '<sch:Color Z="' + options.fontColor.Z + '" Y="' + options.fontColor.Y + '" X="' + options.fontColor.X + '" Colorspace="' + `${ options.colorspace === "YCbCr" ? "http://www.onvif.org/ver10/colorspace/YCbCr" : "http://www.onvif.org/ver10/colorspace/RGB" }` + '"/>' }

0 commit comments

Comments
 (0)