Skip to content

node-peerconnection does not work against the latest source for libjingle #1

@fdalvi

Description

@fdalvi

There are several hurdles when trying to use the latest source for libjingle and following the instructions in the README.

  • The node-gyp rebuild module looks for libvoice_engine_core.a, but this file is no more built. This can be solved by looking for ibvoice_engine.a instead in the binding.gyp file.
  • The new source for peerConnectionFactory implements constructors that require atleast four arguments. This bug can be temporarily solved(Not sure if this is the right way to do this by changing line 145 in peerconnection.cc to
    _peerConnectionFactory->CreatePeerConnection( _iceServers, NULL, NULL, this );
  • Finally, when the new peerconnection.node is built and used, the node server crashes on a new connection with the error:
    node: symbol lookup error: /path/to/node-peerclient/compiled/linux/x64/peerconnection.node: undefined symbol: XOpenDisplay
    This can be solved(again, temporarily) by commenting out line 186 in libjingle/trunk/third_party/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc
    Once this is done, node crashes again with:
    node: symbol lookup error: /path/to/node-peerclient/compiled/linux/x64/peerconnection.node: undefined symbol: _ZN6webrtc13SincResampler12Convolve_SSEEPKfS2_S2_d
    This seems to be function in the V8 engine, but apart from recompiling node from source(which I've tried already), there seems to be no other solution.

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