In HTML5 players (V2, generated by Universal studio), we transmit stats and analytics data to our kaltura server by using UI variable (Kaltura.StatsUrl) in the studio.
Similarly, we want OVP players (V7, generated by TV platform studio) to transmit the stats and analytics data to our Kaltura server.
Similar to universal studio UI variables, we have defined “Kaltura.StatsUrl” and “Kaltura.StatsServiceUrl” parameters in “Advanced Settings” of the TV platform studio.
But, the stats and analytics data are transmitted to “stats.kaltura.com” and “analytics.kaltura.com”.
Is it possible to set the destination of stats and analytics data for the OPV players?
The config for the player is taken from the server environment config, for both old and new player, so in general if your platform is onPrem you should set your kconf config so it generates your config urls to point to your domain.
This way you wouldn’t need to set it in your embed code on every page you use it and the player will pull the data through the embedPlaykit action that queries the kconf to get all of the env config.
I tried the following two methods:
(1) write parameters in “Advanced Settings” of TV platform studio.
(2) write parameters in embed code.
Both methods enabled “cdnUrl” and “serviceUrl”, but not “analyticsServiceUrl”.
Even when I set the “analyticsServiceUrl” to specific URL, analayics queries were transmitted to “analytics.kaltura.com”.
We use the Kaltura CE 14.18.0 (kaltura-player-js 0.40.15).
For a few days after setting the player parameters, access to “analytics.kaltura.com” was occurred.
Currently, the player parameter values are reflected normally.
OVP player accesses to our site.
We are currently facing other problem about the kaltura-player-js.
I have Kaltura 16.14.0 and 16.15.0 all-in-one servers for testing.
At both systems, OVP playes are not displayed.
There is one point to worry about.
In both systems, access to the URL shown below occurs, followed by a “404 not found” error.
Is the kaltura-playkit-bundler running? If not, please start it. Otherwise, please edit /opt/kaltura/playkit-js-bundle-builder/config/default.json and set:
"debugEnabled": 1
Then try to load a v3 player and check the logs under /opt/kaltura/playkit-js-bundle-builder/log. I’ll be able to guide you further based on your findings.
I executed posted script.
Then, I found the same error in “kaltura_bundle_builder.log”.
And, I found the following error.
# more bundle-builder-server.log
_http_outgoing.js:747
throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'first argument',
^
TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be one of type string or Buffer
at ServerResponse.end (_http_outgoing.js:747:13)
at ServerResponse.response.end (/opt/kaltura/playkit-js-bundle-builder/lib/utils/KalturaLogger.js:235:25)
at /opt/kaltura/playkit-js-bundle-builder/lib/BundleBuilderApi.js:112:46
at ChildProcess.exithandler (child_process.js:280:5)
at ChildProcess.emit (events.js:180:13)
at maybeClose (internal/child_process.js:936:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
at Process.onexit (/opt/kaltura/playkit-js-bundle-builder/node_modules/async-listener/glue.js:188:31)
error: Forever detected script exited with code: 1
error: Script restart attempt #1
Our testing server employs the following software:
CentOS Linux release 7.9.2009 (Core)
PHP 7.2.34
Kaltura CE 16.14.0
Nodejs v9.11.2
npm 5.6.0