Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Is a Perl Skype-like VoIP connection possible?

by thomas895 (Deacon)
on Aug 29, 2021 at 08:35 UTC ( #11136171=note: print w/replies, xml ) Need Help??


in reply to Is a Perl Skype-like VoIP connection possible?

It sounds like you want to write a program that takes your microphone input and flings it across the net to your friends, while doing the converse for you? Sure, this is possible, but it will be a lot of work. The examples you listed are complex and their value lies mostly in their handling of the innumerable edge cases involved in this sort of thing.

You could start by finding a microphone capture library and sending it over a socket to a receiving client. Then look at tying in Net::SIP (and you'll probably want AnyEvent::SIP).

This will keep you busy for a while, it's not for nothing that VoIP is a big business

By the way, you don't need to even write any code for this! There are many FOSS packages like Jitsi and others that have already done all the hard work and you can self host them.

-Thomas
"Excuse me for butting in, but I'm interrupt-driven..."
  • Comment on Re: Is a Perl Skype-like VoIP connection possible?

Replies are listed 'Best First'.
Re^2: Is a Perl Skype-like VoIP connection possible?
by Polyglot (Friar) on Aug 29, 2021 at 09:20 UTC
    Pardon my ignorance, but it appears Jitsi is a link embedder, and I haven't grasped at all how embedding a link, or links (into what, exactly?), could help accomplish this. If there are some FOSS options, what, besides Jitsi, might you have been alluding to?

    Blessings,

    ~Polyglot~

      it appears Jitsi is a link embedder

      It isn't clear at all how you came to that conclusion. Jitsi is a VoIP + IM solution.

      If there are some FOSS options

      There are loads of them. I would be using Asterisk for VoIP and probably Prosody for IM. If you are looking for a Perl answer then DJabberd is still available but (unfortunately) it has had no active development for a long time.

      Update: although DJabberd hasn't seen a release in a decade there actually has been some more recent activity over on the github repo so it might not be quite such bad news on that front as it first appeared.


      🦛

        Here's what I found when I looked for Jitsi:

        https://metacpan.org/release/JHTHORSEN/LinkEmbedder-1.20/source/lib/LinkEmbedder/Link/Jitsi.pm

        Thank you for the additional ideas. I'll see what I can find on those.

        Blessings,

        ~Polyglot~

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136171]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2022-05-28 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?