Skip to content

Example throws GLib-GObject-CRITICAL and GLib-GObject-WARNING #1

@SpeCT

Description

@SpeCT

Hi José Antonio.

Firstly I want to thank you for such future looking plugin. Great job 👍

Secondary I want to ask for help with running example server.
I've successfully built the plugin and example server from your google code repo. It can run, it can respond with html, but it logs critical errors when I'm allowing Chrome to use my camera (when it is trying to start the pipeline I suppose).

Here is what I did.

  1. VirtualBox + fresh Debian 7.1 (i386 netinstall w/o GUI)
  2. installed stable versions of ssh git sudo build-essential autoconf libtool pkg-config
  3. installed unstable versions of libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libsrtp0-dev libnice-dev libsoup2.4-dev
  4. cloned your git repo from google-code
  5. ./autogen.sh; make; make install
  6. Moved produced .so and .la files from /usr/local/lib/gstreamer-1.0 to /usr/lib/i386-linux-gnu/gstreamer-1.0 (the place, where I've found gst core plugins installed)
  7. cd test/examples; ./webrtc_http_server

Here is what server logs to console, when I'm trying to re-stream myself:

~/kurento.gst-plugins-webrtc/test/examples# ./webrtc_http_server
testing rand_source...passed
cipher: aes cipher block chaining (cbc) mode
  instance count: 0
  self-test: passed
cipher: aes integer counter mode
  instance count: 2
  self-test: passed
cipher: null cipher
  instance count: 0
  self-test: passed
auth func: hmac sha-1 authentication function
  instance count: 2
  self-test: passed
auth func: null authentication function
  instance count: 0
  self-test: passed
debug modules loaded:
  srtp (off)
  hmac sha-1 (off)
  aes cbc (off)
  aes icm (off)
  alloc (off)
  stat test (off)
  cipher (off)
  auth func (off)
  crypto kernel (off)

(webrtc_http_server:8705): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(webrtc_http_server:8705): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(webrtc_http_server:8705): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(webrtc_http_server:8705): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(webrtc_http_server:8705): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(webrtc_http_server:8705): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

I've tried to read the sources, but understood, that without any experience in C[++] development for Linux it is almost impossible for me to find out where and why it fails :(

Please let me know If there are any tools or cli arguments for creating more verbose debug information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions