引用: lhj@lhj:~/ortp$ ./autogen.sh
+ rm -rf config.cache autom4te.cache
+ libtoolize --copy --force
./autogen.sh: 36: ./autogen.sh: libtoolize: not found
+ aclocal
./autogen.sh: 37: ./autogen.sh: aclocal: not found
+ autoheader
./autogen.sh: 38: ./autogen.sh: autoheader: not found
+ automake --force-missing --add-missing --copy
./autogen.sh: 39: ./autogen.sh: automake: not found
+ autoconf
./autogen.sh: 40: ./autogen.sh: autoconf: not found
引用: sudo apt-get install libtool*
sudo apt-get install m4
sudo apt-get install automake
引用: configure: Could not find libsrtp headers or lib, cryto transport disabled.
./configure: line 12958: syntax error near unexpected token `LIBZRTPCPP,'
./configure: line 12958: ` PKG_CHECK_MODULES(LIBZRTPCPP, libzrtpcpp >= 2.0.0)'
引用: configure: Could not find libsrtp headers or lib, cryto transport disabled.
./configure: line 12958: syntax error near unexpected token `LIBZRTPCPP,'
./configure: line 12958: ` PKG_CHECK_MODULES(LIBZRTPCPP, libzrtpcpp >= 2.0.0)'
引用: sudo apt-get install pkg-config
sudo apt-get update
sudo apt-get upgrade
sudo aclocal
sudo autoheader
sudo autoconf
sudo automake
引用: sudo apt-get install tree
lhj@lhj:~/opt$ tree /home/lhj/opt/
/home/lhj/opt/
├── include
│ └── ortp
│ ├── b64.h
│ ├── event.h
│ ├── logging.h
│ ├── ortp.h
│ ├── ortp_srtp.h
│ ├── payloadtype.h
│ ├── port.h
│ ├── rtcp.h
│ ├── rtp.h
│ ├── rtpprofile.h
│ ├── rtpsession.h
│ ├── rtpsignaltable.h
│ ├── sessionset.h
│ ├── str_utils.h
│ ├── stun.h
│ ├── stun_udp.h
│ ├── telephonyevents.h
│ └── zrtp.h
└── lib
├── libortp.la
├── libortp.so -> libortp.so.9.0.0
├── libortp.so.9 -> libortp.so.9.0.0
├── libortp.so.9.0.0
└── pkgconfig
└── ortp.pc
4 directories, 23 files
引用: root@g2uliot:/usr/lib# ln -s libortp.so.9.0.0 libortp.so
root@g2uliot:/usr/lib# ln -s libortp.so.9.0.0 libortp.so.9
引用: -rw-r--r-- 1 root root 944 Dec 19 2022 libortp.la
lrwxrwxrwx 1 root root 16 Sep 20 10:49 libortp.so -> libortp.so.9.0.0
lrwxrwxrwx 1 root root 16 Sep 20 10:49 libortp.so.9 -> libortp.so.9.0.0
-rw-r--r-- 1 root root 651368 Dec 19 2022 libortp.so.9.0.
引用: lhj@lhj:~/ortp/src/tests$ ./rtprecv test 5000
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
引用: lhj@lhj:~/ortp/src/tests$ ./rtpsend hello.txt 127.0.0.1 5000
ortp-message-Setting random local addresses.
ortp-message-oRTP-stats:
Global statistics :
ortp-message- number of rtp packet sent=1
ortp-message- number of rtp bytes sent=23 bytes
ortp-message- number of rtp packet received=0
ortp-message- number of rtp bytes received=0 bytes
ortp-message- number of incoming rtp bytes successfully delivered to the application=0
ortp-message- number of rtp packet lost=0
ortp-message- number of rtp packets received too late=0
ortp-message- number of bad formatted rtp packets=0
ortp-message- number of packet discarded because of queue overflow=0
引用: root@g2uliot:~# ./rtprecv test 5000
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
ortp-message-Not sending rtcp report: sockfd=5, rem_addrlen=0, connected=0
引用: lhj@lhj:~/ortp/src/tests$ ./rtpsend hello.txt 192.168.1.10 5000
ortp-message-Setting random local addresses.
ortp-message-oRTP-stats:
Global statistics :
ortp-message- number of rtp packet sent=1
ortp-message- number of rtp bytes sent=23 bytes
ortp-message- number of rtp packet received=0
ortp-message- number of rtp bytes received=0 bytes
ortp-message- number of incoming rtp bytes successfully delivered to the application=0
ortp-message- number of rtp packet lost=0
ortp-message- number of rtp packets received too late=0
ortp-message- number of bad formatted rtp packets=0
ortp-message- number of packet discarded because of queue overflow=0
更多回帖