Giter Club home page Giter Club logo

mediaproxy's People

Contributors

adigeo avatar brivadeneira avatar danpascu avatar saghul avatar tijmennl 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

mediaproxy's Issues

"cannot find a supported version of libgnutls on this system" error when starting

Hello,

I'm running python2.7, and installed all required packages on a Centos 6.8 machine, however, I get the following errors when trying to start the server:

[root@localhost mediaproxy-master]# python2.7 /usr/bin/media-relay --no-fork
Starting MediaProxy Relay 2.6.3
fatal error: failed to create MediaProxy Relay: cannot find a supported version of libgnutls on this system
[root@localhost mediaproxy-master]# python2.7 /usr/bin/media-dispatcher --no-fork
Starting MediaProxy Dispatcher 2.6.3
Traceback (most recent call last):
  File "/usr/bin/media-dispatcher", line 47, in <module>
    from mediaproxy.dispatcher import Dispatcher
  File "/usr/local/lib/python2.7/site-packages/mediaproxy/dispatcher.py", line 18, in <module>
    from gnutls.interfaces.twisted import TLSContext
  File "/usr/local/lib/python2.7/site-packages/gnutls/interfaces/twisted/__init__.py", line 13, in <module>
    from gnutls.connection import ClientSession, ServerSession, ServerSessionFactory
  File "/usr/local/lib/python2.7/site-packages/gnutls/connection.py", line 13, in <module>
    from gnutls.constants import *
  File "/usr/local/lib/python2.7/site-packages/gnutls/constants.py", line 21, in <module>
    from gnutls.library import constants
  File "/usr/local/lib/python2.7/site-packages/gnutls/library/__init__.py", line 58, in <module>
    libgnutls = load_library(abi_versions=(28, 30))  # will use the highest of the available ABI versions
  File "/usr/local/lib/python2.7/site-packages/gnutls/library/__init__.py", line 55, in load_library
    raise RuntimeError('cannot find a supported version of libgnutls on this system')
RuntimeError: cannot find a supported version of libgnutls on this system

Any thoughts?

Thanks
//M

Lawful Interception

Hello,

I see this feature in the TODO.
Do you have any idea regarding when it will be (if ever) implemented?

build and install is ok,but run it :AttributeError: 'module' object has no attribute 'runtime_directory'

I have touch this file :

cat << EOF >/etc/mediaproxy/config.ini
[Relay]
dispatchers = 192.168.88.10
passport = None
relay_ip = 192.168.88.10
port_range = 50000:60000
[Dispatcher]
socket_path = dispatcher.sock
listen = 192.168.88.10
listen_management = 192.168.88.10
passport = None
management_passport = None
[TLS]
[Database]
[Radius]
[OpenSIPS]
socket_path = /var/run/opensips/socket
max_connections = 10
EOF

[[email protected]]# media-dispatcher --no-fork
Traceback (most recent call last):
File "/usr/bin/media-dispatcher", line 18, in
default_pid = mediaproxy.runtime_directory + '/dispatcher.pid'
AttributeError: 'module' object has no attribute 'runtime_directory'
[root@ mediaproxy-release-2.6.6]#

Aggregation tracks and run nfct_destroy break right functionality for iptables state ESTABLESHED

Hello,
I have the issue with properly work nf_conntrack for handle ESTABLESHED connection allowing port when RTP streams bridged via mediaproxy. As I see, mediaproxy aggregate two "track" of conntrack to one and drop original two "tracks" via nfct_destroy. So, remote UA port not allowed, becasue iptables cannot detects right port for allow it. Please see attachements for more info.

conntrack_snippet.txt

rtpstream

Conntrack rules not used

Hello,
With a 4.19 kernel the conntrack rules seem not to be used.
Mediaproxy relay packets during 60s and then the session is terminated.

I see the rules in /proc/net/nf_conntrack initialized with the 60s with the state [UNREPLIED], no packets are incremented.

This didn't occur with 4.9 kernel and before.

This is probably not a bug in mediaproxy, I'm not really sure how conntrack should be working and if it could be some intended change.

NB : in a test with a custom iptables DNAT rule matching Mediaproxy, the rule is updated and used (packet counter increase, state [ASSURED], no timeout).

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.