KMS 7 kurento-client problem

122 views
Skip to first unread message

Neil Young

unread,
Sep 10, 2022, 1:14:05 PM9/10/22
to kurento
As known with KMS 7 there are some changes in very old JS events https://doc-kurento.readthedocs.io/en/latest/project/relnotes/v6_18_0.html#deprecated-opencv-extra-modules

Installed KMS 7 now into a focal docker. Wondering what "kurento-client" to use.

npm i kurento-client 

installs  "kurento-client": "^6.16.0"

but this client isn't aware of the changes like "IceComponentStateChanged" (and others)

How to address this?

I would also be fine with a 6.18, but this can't be installed on focal, right?

Neil Young

unread,
Sep 12, 2022, 1:18:12 PM9/12/22
to kurento
Anybody?

Juan Navarro

unread,
Sep 13, 2022, 1:16:48 PM9/13/22
to kur...@googlegroups.com
The way to address this, given that 6.18 is in pre-release stage (aka in development) is to use the development version of the client:

https://doc-kurento.readthedocs.io/en/latest/user/installation_dev.html#kurento-javascript-client

this way you'll get a client version that is able to communicate with both Kurento <= 6.18 and 7.0 at the same time.

Kurento 6.18, i.e. the nightly dev packages, cannot be installed in Focal, because Kurento 6.x is only built and tested for Ubuntu 16.04 and 18.04. Although you can always use the Docker images, which are handy because they can run anywhere Docker runs, regardless of needs of Kurento, as you did.

Note there is already a 7.0 Docker image for use:

kurento/kurento-media-server:dev-7.0.0

Which is essentially the same thing as yours (Ubuntu 20.04 with apt-get install kurento-media-server)
--
You received this message because you are subscribed to the Google Groups "kurento" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kurento+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/cfbb79be-ac1e-4108-973d-b9be3fd871cdn%40googlegroups.com.

Neil Young

unread,
Sep 13, 2022, 1:40:18 PM9/13/22
to kur...@googlegroups.com
Thanks. That’s what I was looking for.

Neil Young

unread,
Sep 13, 2022, 4:54:49 PM9/13/22
to kurento
But it doesn't work for me. Getting strange error, which might be on my side, but couldn't find a fix for it. npm clean cache --force didn't work

Error on npm install:

ubuntu@docker:~/webrtc/webrtc-server$ npm install
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /home/ubuntu/.npm/_cacache/tmp/git-clone8iA5BU/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/home/ubuntu/.npm/_cacache/tmp/git-clone8iA5BU/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2022-09-13T20_50_39_145Z-debug-0.log
ubuntu@docker:~/webrtc/webrtc-server$ 

ubuntu@docker:~/webrtc/webrtc-server$ npm -v
8.19.1
ubuntu@docker:~/webrtc/webrtc-server$ 

Neil Young

unread,
Sep 13, 2022, 4:57:14 PM9/13/22
to kurento
Sorry, my bad. Was using the wrong entry (bower!)


works
Reply all
Reply to author
Forward
0 new messages