Kurento Media Server not working on ubuntu 14.04 LTS minimal system (64-bit). Getting Error While Obtaining MediaPipeline.

817 views
Skip to first unread message

Subhakanta Das

unread,
Nov 28, 2014, 9:25:23 AM11/28/14
to kur...@googlegroups.com
I am get following error statements on kurento 
media server log file :

[2014-11-27 18:00:03.075352] [0xcdba3700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:437 processMessage() Message: >{"jsonrpc":"2.0","method":"create","params":{"type":"MediaPipeline","constructorParams":{}},"id":0}<
[2014-11-27 18:00:03.076349] [0xcdba3700] [error]   KurentoModuleManager ModuleManager.cpp:179 getFactory() Factory MediaPipeline not found: map::at
[2014-11-27 18:00:03.076471] [0xcdba3700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:439 processMessage() Response: >{"error":{"code":-32603,"message":"Unexpected error while processing method: Factory not found"},"id":0,"jsonrpc":"2.0"}
<
[2014-11-27 20:11:18.161108] [0xcbda0700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:497 closeHandler() Connection closed
[2014-11-27 20:11:18.161281] 

Jose Antonio Santos Cadenas

unread,
Nov 28, 2014, 9:44:21 AM11/28/14
to kur...@googlegroups.com
Can you report the full log? Versions you are using, etc.

--
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.
For more options, visit https://groups.google.com/d/optout.

Subhakanta Das

unread,
Nov 28, 2014, 9:55:08 AM11/28/14
to kur...@googlegroups.com
Here is the full log :

libdc1394 error: Failed to initialize libdc1394
/usr/bin/kurento-media-server already running.
[2014-11-26 13:15:31.483792] [0x6b5d0880] [info]    KurentoModuleManager ModuleManager.cpp:119 loadModules() Looking for modules in /usr/lib/x86_64-linux-gnu/kurento/modules
[2014-11-26 13:15:31.484109] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:232 main() Kmsc version: 5.0.4
[2014-11-26 13:15:31.484119] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:64 load_config() Reading configuration from: /etc/kurento/kurento.conf.json
[2014-11-26 13:15:31.484633] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:77 load_config() Configuration loaded successfully
[2014-11-26 13:15:31.484838] [0x6b5d0880] [info]    KurentoWebSocketTransport WebSocketTransport.cpp:197 WebSocketTransport() Secure websocket server not enabled
[2014-11-26 13:15:31.485228] [0x6b5d0880] [info]    KurentoMediaServer main.cpp:239 main() Mediaserver started
[2014-11-26 13:24:10.668553] [0x61989700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:458 openHandler() Client connected from localhost:8888
[2014-11-26 13:24:10.672352] [0x62d8b700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:437 processMessage() Message: >{"jsonrpc":"2.0","method":"create","params":{"type":"MediaPipeline","constructorParams":{}},"id":0}<
[2014-11-26 13:24:10.674105] [0x62d8b700] [error]   KurentoModuleManager ModuleManager.cpp:179 getFactory() Factory MediaPipeline not found: map::at
[2014-11-26 13:24:10.674335] [0x62d8b700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:439 processMessage() Response: >{"error":{"code":-32603,"message":"Unexpected error while processing method: Factory not found"},"id":0,"jsonrpc":"2.0"}
<
[2014-11-26 13:25:08.083286] [0x6238a700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:497 closeHandler() Connection closed
[2014-11-26 13:25:30.057920] [0x6558f700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:458 openHandler() Client connected from localhost:8888
[2014-11-26 13:25:30.061846] [0x62d8b700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:437 processMessage() Message: >{"jsonrpc":"2.0","method":"create","params":{"type":"MediaPipeline","constructorParams":{}},"id":0}<
[2014-11-26 13:25:30.063380] [0x62d8b700] [error]   KurentoModuleManager ModuleManager.cpp:179 getFactory() Factory MediaPipeline not found: map::at
[2014-11-26 13:25:30.063538] [0x62d8b700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:439 processMessage() Response: >{"error":{"code":-32603,"message":"Unexpected error while processing method: Factory not found"},"id":0,"jsonrpc":"2.0"}
<
[2014-11-26 13:33:29.461861] [0x5fb86700] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:497 closeHandler() Connection closed
[2014-11-26 17:37:23.105459] [0x6b5d0880] [debug]   KurentoMediaServer main.cpp:98 signal_handler() Terminating.
[2014-11-26 17:37:23.105611] [0x6b5d0880] [debug]   KurentoWebSocketTransport WebSocketTransport.cpp:270 stop() stop transport

Ivan Gracia

unread,
Nov 30, 2014, 1:42:39 PM11/30/14
to Kurento Public
Could you please post the output of 
  • dpkg -l | grep kurento
  • dpkg -l | grep kms
That will tell us what you have installed.

Ivan Gracia


cyfl...@googlemail.com

unread,
Jan 9, 2015, 8:21:27 AM1/9/15
to kur...@googlegroups.com
I've exactly the same problem, here is the requested output from dpkg


i  kms-core                                    5.0.4-trusty                           amd64        Kurento core module
ii  kms-elements                                5.0.4-trusty                           amd64        Kurento elements module
ii  kms-filters                                 5.0.4-trusty                           amd64        Kurento filters module
ii  kms-gstmarshal                              1.0.1-trusty                           amd64        Kurento marshal library
ii  kms-jsonrpc                                 0.1.2-trusty                           amd64        Kurento jsonrpc library

ii  gstreamer1.0-plugins-bad:amd64              1.4.1-1ubuntu1kurento1                 amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-faad:amd64         1.4.1-1ubuntu1kurento1                 amd64        GStreamer faad plugin from the "bad" set
ii  gstreamer1.0-plugins-bad-videoparsers:amd64 1.4.1-1ubuntu1kurento1                 amd64        GStreamer videoparsers plugin from the "bad" set
ii  gstreamer1.0-plugins-base:amd64             1.4.1-1~kurento1                       amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64             1.4.1-1ubuntu1kurento1                 amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64             1.4.1-1~kurento1                       amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-x:amd64                        1.4.1-1~kurento1                       amd64        GStreamer plugins for X11 and Pango
ii  kurento-media-server                        5.0.4-trusty                           amd64        Kurento Media Server
ii  libgstreamer-plugins-bad1.0-0:amd64         1.4.1-1ubuntu1kurento1                 amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64        1.4.1-1~kurento1                       amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64        1.4.1-1ubuntu1kurento1                 amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer1.0-0:amd64                     1.4.1-1~kurento1                       amd64        Core GStreamer libraries and elements

Subhakanta Das

unread,
Jan 9, 2015, 9:18:18 AM1/9/15
to kur...@googlegroups.com
Still I haven't manage to fix the issue. Here is the output :

root@s17974621:~# dpkg -l | grep kurento
ii  gstreamer1.0-plugins-bad:amd64              1.4.1-1ubuntu1kurento1               amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-bad-faad:amd64         1.4.1-1ubuntu1kurento1               amd64        GStreamer faad plugin from the "bad" set
ii  gstreamer1.0-plugins-bad-videoparsers:amd64 1.4.1-1ubuntu1kurento1               amd64        GStreamer videoparsers plugin from the "bad" set
ii  gstreamer1.0-plugins-base:amd64             1.4.1-1~kurento1                     amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64             1.4.1-1ubuntu1kurento1               amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64             1.4.1-1~kurento1                     amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-x:amd64                        1.4.1-1~kurento1                     amd64        GStreamer plugins for X11 and Pango
ii  kurento-media-server                        5.0.4-trusty                         amd64        Kurento Media Server
ii  libgstreamer-plugins-bad1.0-0:amd64         1.4.1-1ubuntu1kurento1               amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64        1.4.1-1~kurento1                     amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-good1.0-0:amd64        1.4.1-1ubuntu1kurento1               amd64        GStreamer development files for libraries from the "good" set
ii  libgstreamer1.0-0:amd64                     1.4.1-1~kurento1                     amd64        Core GStreamer libraries and elements
[14:14:53 | Edited 14:15:09] ChenGuang Zhu: ------------------------------------------------------------------------------------------------------
root@s17974621:~# dpkg -l | grep kms
ii  kms-core                                    5.0.4-trusty                         amd64        Kurento core module
ii  kms-elements                                5.0.4-trusty                         amd64        Kurento elements module
ii  kms-filters                                 5.0.4-trusty                         amd64        Kurento filters module
ii  kms-gstmarshal                              1.0.1-trusty                         amd64        Kurento marshal library
ii  kms-jsonrpc                                 0.1.2-trusty                         amd64        Kurento jsonrpc library

Jose Antonio Santos Cadenas

unread,
Jan 15, 2015, 4:31:49 PM1/15/15
to kur...@googlegroups.com
I think that you are affected by this bug:
Reply all
Reply to author
Forward
0 new messages