Kamailio module rtpengine: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Overview == Kamailio module RTPEngine 내용 정리 == Basic == This is a module that enables media streams to be proxied via an RTP proxy. The only RTP proxy currently kn...") |
|||
Line 13: | Line 13: | ||
# single rtproxy | # single rtproxy | ||
modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221") | modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221") | ||
# multiple rtproxies for LB with weights (missing weight defaults to 1) | # multiple rtproxies for LB with weights (missing weight defaults to 1) | ||
modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221=2 udp:localhost:12222=1") | modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221=2 udp:localhost:12222=1") | ||
# multiple sets of multiple rtproxies | # multiple sets of multiple rtproxies | ||
modparam("rtpengine", "rtpengine_sock", "1 == udp:localhost:12221 udp:localhost:12222") | modparam("rtpengine", "rtpengine_sock", "1 == udp:localhost:12221 udp:localhost:12222") | ||
modparam("rtpengine", "rtpengine_sock", "2 == udp:localhost:12225") | modparam("rtpengine", "rtpengine_sock", "2 == udp:localhost:12225") | ||
</pre> | </pre> | ||
== See also == | == See also == |
Revision as of 22:25, 1 August 2019
Overview
Kamailio module RTPEngine 내용 정리
Basic
This is a module that enables media streams to be proxied via an RTP proxy. The only RTP proxy currently known to work with this moudle is Sipwise rtpengine https://github.com/sipwise/rtpengine. The rtpengine module is a modified version of the original rtpproxy module using a new control protocol. The module is designed to be a drop in it only works with RTP proxies which specifically support it.
Parameers
rtpengine_sock(string)
Definition of socket(s) used to connect to (a set) RTP proxy. It may specify a UNIX socket or an IPv4/IPv6 UDP socket.
Default value is "NONE" (disabled).
# single rtproxy modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221") # multiple rtproxies for LB with weights (missing weight defaults to 1) modparam("rtpengine", "rtpengine_sock", "udp:localhost:12221=2 udp:localhost:12222=1") # multiple sets of multiple rtproxies modparam("rtpengine", "rtpengine_sock", "1 == udp:localhost:12221 udp:localhost:12222") modparam("rtpengine", "rtpengine_sock", "2 == udp:localhost:12225")