This is a continuation of this 2018 thread: https://marc.info/?l=openbsd-ports&m=152201589030271&w=2
I have attached a new port, net/rtptools. I based it off of Jan Stary's submission. Jan, I kept you as maintainer if that is ok. rtptools itself has recently changed from a non-commercial license to BSD 3-clause, as of rtptools 1.22, released July 2018. Here are the licenses for files not originally by rtptools. * hsearch.[ch] (BSD 4-clause) * multimer.[ch] (BSD ancestor) * hsearch.[ch] (BSD 4-clause) * notify.[ch] (all rights reserved) * vat.h (BSD ancestor) How does the licensing of notify.{h,c} affect the PERMIT_* variables for OpenBSD? To be safe, I just put no. Here are the licenses from notify.{h,c}. --8<---------------cut here---------------start------------->8--- /* stripped-down version of <xview/notify.h> (c) Copyright 1989, 1990, 1991 Sun Microsystems, Inc. Sun design patents pending in the U.S. and foreign countries. OPEN LOOK is a trademark of USL. Used by written permission of the owners. */ /* notify -- primitive notification service implementing a subset of the SunOS (sunview/XView) notifier. Copyright 1993 by AT&T Bell Laboratories; all rights reserved */ --8<---------------cut here---------------end--------------->8--- I tested this transmitting voice over rtp. I used ffmpeg on the source laptop with a microphone. --8<---------------cut here---------------start------------->8--- doas sysctl kern.audio.record=1 doas mixerctl inputs.mic=160,160 ffmpeg -f sndio -i snd/0 -c copy -f nut -f rtp rtp://192.168.1.5:9999 --8<---------------cut here---------------end--------------->8--- On the destination computer, I used rtpdump (rtptools) and play (sox). --8<---------------cut here---------------start------------->8--- FIFO=/tmp/audiofifo IP=192.168.1.5 PORT=9999 mkfifo $FIFO rtpdump -F payload -o $FIFO $IP/$PORT & play -t raw -r 48k -e signed-integer -b 16 -c 2 --buffer 4096 $FIFO --8<---------------cut here---------------end--------------->8---
rtptools.tar.gz
Description: rtptools.tar.gz