Kurento rtsp to webrtc : react with webpack

412 views
Skip to first unread message

Sudharsan Vijayan

unread,
Sep 26, 2017, 5:47:00 AM9/26/17
to kurento
i am not able to run the RTSP ro webRTC streaming demo using kurento in ReactJs as the following error turns up


./node_modules/kurento-client/lib/register.js
68:20-33 Critical dependency: the request of a dependency is an expression

./node_modules/kurento-client/lib/register.js
72:26-46 Critical dependency: the request of a dependency is an expression


and while executing, i am getting this error:

Error: Cannot find module "."





Where am I wrong. Please lend me a hand

Yash Kumar Sharma

unread,
Dec 1, 2017, 2:35:25 AM12/1/17
to kurento
I am also facing the same issue. Did you find any solution?

Micael Gallego

unread,
Dec 1, 2017, 5:09:06 PM12/1/17
to kur...@googlegroups.com
It is not a good practice to use KurentoClient from browser. It is better to use it from backend (node, java or whatever...).

Do you have kurento-client specified in package.json?

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to kur...@googlegroups.com.
Visit this group at https://groups.google.com/group/kurento.
To view this discussion on the web visit https://groups.google.com/d/msgid/kurento/5259869a-454a-4c13-a375-8cc31e1d39e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages