Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New rtp.io module (embedded RTPProxy) #3501

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Oct 23, 2024

  1. rtp.io: add a new rtp.io module.

    What rtp.io module does is it starts up a RTP handling threads in
    the main process and let rtpproxy module access those threads via a
    1:1 socketpair, thus providing usual media relaying functionality
    without using any external relay process.
    
    The module requires RTPProxy 3.1 or higher, compiled with
    --enable-librtpproxy.
    
    When rtpproxy module is loaded without arguments and rtp.io is loaded as
    well, the sockets exported by the rtp.io will be used automatically in
    the set 0. Otherwise those sockets can be used as part of other set(s)
    by using "rtp.io:auto" moniker.
    
    Provided is also a CI job that builds rtp.io in a rtpproxy container
    for all supported architectures and tests it using voiptests package.
    
    TODO list:
    
    o hook up notification socket directly into appropriate handler on the
      OpenSIPS side;
    
    o generate -l / -6 option(s) based on OpenSIPS's own socket list;
    
    o more documentation.
    sobomax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    1ee64cb View commit details
    Browse the repository at this point in the history
  2. rtpproxy: hook up rtpproxy into rtp.io.

    Use rtp.io when no explicit rtpproxy configuration is
    provided. It is also possible to mix internal RTP functionality
    with externals proxies by adding it up as "rtp.io:auto" into
    some of the existing set.
    sobomax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    99ad070 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1bca7c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be877c9 View commit details
    Browse the repository at this point in the history
  5. core: only generate backtraces if EXTRA_DEBUG is defined.

    This fixes build on systems that have no backtrace API in the
    libc (e.g. BSDs).
    sobomax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    32d44b9 View commit details
    Browse the repository at this point in the history
  6. core: Enable clang for ppc64.

    CI: handle debian.
    sobomax committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    f3bbb64 View commit details
    Browse the repository at this point in the history