Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: use deprecated;

by Anonymous Monk
on Jan 17, 2004 at 12:08 UTC ( #322027=note: print w/replies, xml ) Need Help??

in reply to use deprecated;

Don't use string eval, especially when you don't need to. Try something like
sub _deprecated { my $sh = shift; require Carp; Carp::carp("$sh() is deprecated; ". "see the documentation for an alternative;"); ... } sub import { ... for (@_){ *{"$pkg\::$_"} = sub { _deprecated($_) }; }

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://322027]
[james28909]: well, i can stream from ffmpeg to mpc-hc with udp:// port. guess i just need to grab these packets and slap a rtp header on it and encrypt it with linsodium and send it.
[james28909]: in the rtp header, there is a nonce, i can just make this any number and increment it per packet?

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-05-23 05:22 GMT
Find Nodes?
    Voting Booth?