agprojects / mediaproxy Goto Github PK
View Code? Open in Web Editor NEWMedia relay for RTP/RTCP and UDP streams
Home Page: http://projects.ag-projects.com/projects/mediaproxy
License: Other
Media relay for RTP/RTCP and UDP streams
Home Page: http://projects.ag-projects.com/projects/mediaproxy
License: Other
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).
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
In my deployment scenario, Freeswitch ,Opensips and MediaProxy is on the same LAN .I want MediaProxy listening a public ip for Nat-ed Clients, and a private ip for Freeswitch(Because Freeswitch can not communicate with the public ip).
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]#
Hello,
I see this feature in the TODO.
Do you have any idea regarding when it will be (if ever) implemented?
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.