RTP streaming/tunneling over Internet

Sean DuBois sean at siobud.com
Fri Feb 25 18:37:33 UTC 2022


On Fri, Feb 25, 2022 at 08:33:33AM -0500, Chris Hallinan via gstreamer-devel wrote:
> Thanks Tim,
>
> From what I've learned, MacOS server is basically dead.  All the good
> functionality has been removed.  Here is a snippet from a Dec 2021
> announcement from Apple:
>
> *"Starting with macOS Server 5.7.1, Apple no longer bundles open source
> services such as Calendar Server, Contacts Server, the Mail Server, DNS,
> DHCP, VPN Server, and Websites with macOS Server. Customers can get these
> same services directly from open-source providers. This way, macOS Server
> customers can install the most secure and up-to-date services as soon as
> they’re available."*
>
> Really bad, scathing reviews on the App Store for what's left of the $19.99
> product. ;-)
>
> -Chris
>
> On Fri, Feb 25, 2022 at 12:42 AM Tim Wood <tim at visionaryigaming.com> wrote:
>
> > Hi
> > On 25/2/22 11:58 am, Chris Hallinan via gstreamer-devel wrote:
> >
> >
> > But I couldn't find an OpenVPN server solution for MAC.  Lots of client
> > solutions, tho.  I really don't want to build a dedicated Linux server just
> > to be able to use my MACs, which was the genesis for this project in the
> > first place.
> >
> > From memory macos server includes a VPN server by default which is
> > actually pretty straightforward to setup .  There is a decent walkthrough
> > here https://www.imore.com/how-setup-your-own-vpn-macos-server .  The one
> > I setup a few years back was easier to setup than openvpn on linux.  I am
> > not sure if your server is running osx server however.
> >
> > Regarding openvpn server, you can do it, I have not done it on mac
> > personally.  I recommend e.g. this link to give it a go
> > https://tinyapps.org/docs/openvpn/
> >
> > Both of these easier than the work you already did to make the radio app
> >
> > Cheers
> >
> > Tim
> >
> > No radio support on MACS - plenty on Windows and Linux.
> >
> > Chris
> >
> >
> >
> > On Thu, Feb 24, 2022 at 5:54 PM Tim Wood <tim at visionaryigaming.com> wrote:
> >
> >> Hi
> >>
> >> I use openvpn for this type of scenario.  You may find as time goes on
> >> there are other things 'at home' that you want access to while you are
> >> remote.  Mac support for openvpn can be handled with e.g. tunnelblick as
> >> a nice simple wrapper for the connections.  In your setup that might mean
> >>
> >> - install openvpn server on "Server"
> >>
> >> - forward a port [ to be used for vpn] from nat router -> "Server"
> >>
> >> - install openvpn client on 'Client PC'
> >>
> >> If your home IP is not static, that is a separate fun problem to solve
> >> but there's a few ways around that
> >>
> >> Cheers
> >>
> >> Tim
> >>
> >> On 25/2/22 8:18 am, Chris Hallinan via gstreamer-devel wrote:
> >> > Hi Team,
> >> >
> >> > I built an application for Apple/MAC to control a radio remotely.  I
> >> > chose gstreamer as the audio streaming infrastructure.  It works great
> >> > with low latency, etc.  Now, however, I'd like to get it working where
> >> > I can be remote (ie outside of my private home network.).  The "server
> >> > side" (connected to the radio on my private network) uses rtpL16pay
> >> > through rtpjitterbuffer to the remote client using rtpL17depay
> >> > similarly.  Basically it just spits out UDP RTP packets on port 5000
> >> > to whatever remote host I choose.
> >> >
> >> >            gstreamer    Typ. Home   Public  Private      gstreamer
> >> > [radio] -- [Server] -- [NAT Router] -- [I'net] -- [NAT] -- [Client PC]
> >> >
> >> > However, to the best of my knowledge, this is not routable over the
> >> > public Internet through my NAT router.  The basic problem is that I'd
> >> > need to configure port forwarding on the remote side for this to work,
> >> > and when you're sitting in a hotel somewhere, that option doesn't exist.
> >> >
> >> > I'm figuring I'd need to connect in from a remote location to a
> >> > "server" element on my private lan (using port forwarding) and then
> >> > somehow tunnel the RTP audio back to me through some type of
> >> > RTP-compatible tunnel.
> >> >
> >> > Does anyone know of a solution to this?  I'm pretty handy - pointed in
> >> > the right direction, I can figure things out, but I'm not sure what
> >> > direction to go.
> >> >
> >> > Any advice would be appreciated.
> >> >
> >> > Thanks!
> >> >
> >> > Chris
> >> > 73 de K1AY
> >>
> >

The additional latency of routing through OpenVPN might be a problem. I
have had a lot of luck with Wireguard + NAT Traversal.

You can either run it yourself, or use a 3rd party.


More information about the gstreamer-devel mailing list