live555 proxyServer

live555 proxyServer是一个跟rtspd一样好用的rtsp代理服务

live555库文件编译

https://www.cnblogs.com/dong1/p/5861624.html

源码

live/proxyServer/live555ProxyServer.cpp

编译

g++ live555ProxyServer.cpp -o live555ProxyServer \
-I $(pwd)/liveMedia/include ./liveMedia/libliveMedia.a \
-I $(pwd)/groupsock/include ./groupsock/libgroupsock.a \
-I $(pwd)/BasicUsageEnvironment/include ./BasicUsageEnvironment/libBasicUsageEnvironment.a \
-I $(pwd)/UsageEnvironment/include ./UsageEnvironment/libUsageEnvironment.a \

运行

./live555ProxyServer rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream rtsp://172.16.23.66:554/h264major rtsp://172.16.23.66:554/h264minor

 

./live555ProxyServer rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream
LIVE555 Proxy Server
    (LIVE555 Streaming Media library version 2019.06.28; licensed under the GNU LGPL)

Created new TCP socket 4 for connection
RTSP stream, proxying the stream "rtsp://admin:12345@172.16.23.142:554/H.264/ch1/main/av_stream"
    Play this stream using the URL: rtsp://172.16.23.140:8554/proxyStream

(We use port 8000 for optional RTSP-over-HTTP tunneling.)

 

posted @ 2019-02-21 18:01  dong1  阅读(1213)  评论(0编辑  收藏  举报