GithubHelp home page GithubHelp logo

gstzrtp's People

Contributors

wernerd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gstzrtp's Issues

Compilation problem

Can you help with a compilation problem in the file gstzrtpfilter.c? In src/gstzrtpfilter.c, line 819 we have this call:

    zrtp_setMultiStrParams(filter->zrtpCtx, (char*)mspArr->data, mspArr->len);

...but the function wants 4 arguments. Here is the definition of the function, zrtp/zrtp/ZrtpCWrapper.cpp, line 215:

void zrtp_setMultiStrParams(ZrtpContext* zrtpContext, char* parameters, int32_t length, ZrtpContext* master) {

...and here is its declaration, zrtp/zrtp/libcrtpcpp/ZrtpCWrapper.h, line 878:

 * @param master
 *     Pointer to the opaque ZrtpContext structure of the master ZRTP stream.
 */
void zrtp_setMultiStrParams(ZrtpContext* zrtpContext, char* parameters, int32_t length, ZrtpContext* master);

I did have a quick look around to see if I could fix it, but didn't find any reference to a "master ZrtpContext" in the file. Can you help? Was able to get the code to compile and successfully run the zrtpRecv/zrtpSend demos by setting the var to NULL, and nothing exploded, but would like to do better.

For what its worth, in my environment:

  • ubuntu 14.04
  • gstzrtp from https://github.com/wernerd/gstzrtp.git
  • gstreamer built from latest git clone of anongit.freedesktop.org
  • patches to gstzrtp for gstreamer 1.0 from this post: #3
  • CRYPTO_STANDALONE set to TRUE in top-level CMakeLists.txt

...I had to make the following additional changes to compile successfully:

  1. In src/CMakeLists.txt, had to add 5 additional file references:

if (CRYPTO_STANDALONE)
set(crypto_src
...
${zrtpSrcs}/bnlib/ec/curve25519-donna.c
${zrtpSrcs}/zrtp/crypto/skein256.cpp
${zrtpSrcs}/zrtp/crypto/skeinMac256.cpp
${zrtpSrcs}/zrtp/crypto/skein384.cpp
${zrtpSrcs}/zrtp/crypto/skeinMac384.cpp)

  1. In zrtp/bnlib/lbnmem.c, had to add the following includes:

include <stdlib.h>

include <string.h>

include <strings.h>

include <memory.h>

...at the top of the file, as the corresponding existing includes weren't making it through the preprocessor logic.

  1. Had to install ccrtp-dev (on ubuntu 14.04: apt-get install libccrtp-dev), and explicitly build the zrtp subproject thus:

    cd zrtp ; mkdir build ; cd build ; cmake .. ; make

...which was a bit surprising, as I believe the code is wrapping the gstreamer rtp implementation independently of the GNU version.

Many thanks!

-grd

problem while get zrtp source

I am getting the following error when i am running ' sh getzrtp.sh'

Initialized empty Git repository in /usr/local/src/srtp_plugin/gstzrtp/zrtp/.git/
github.com[0: 192.30.252.130]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

Is this project still alive?

GStreamer 1.0 support

The current version of GSTZRTP supports only GStreamer 0.10, could you please port it to GStreamer 1.0.

Thanks

I have tried to do it myself, but run into issues with GstRTPBuffer.

A clean build is not possible atm

A clean build following the instructions fails when cmake cant verify the zrtp sources. The layout of the zrtp sources seems to have changed.

Has this been used in any projects?

Are there any public open source projects that this code has been used in?

Would it be possible to use this code to create a program that would intercept un-encrypted SIP RTP traffic and apply ZRTP encryption? I am trying to do the same thing that the Zfone software does.

I am envisioning putting this on a little ARM powered device with two network cards and a small LCD. This device would sit between a standard SIP office phone and your network. The device would allow you to make any SIP hardware phone ZRTP compatible for very little cost.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.