Spydroid的高级功能

    xiaoxiao2021-12-12  22

    1.RTSP服务器

    使用h264推流,并开启闪光灯 vlc “rtsp://xxx.xxx.xxx.xxx:8086?h264&flash=on”使用前置摄像头推流 vlc “rtsp://xxx.xxx.xxx.xxx:8086?h264&camera=front”使用h263和AMR推送视音频流,并开启闪光灯 vlc “rtsp://xxx.xxx.xxx.xxx:8086?h263&amr&flash=on”使用固定的比特率推流 vlc “rtsp://xxx.xxx.xxx.xxx:8086?h264=200”使用固定的比特率500kbps和帧率20fps分辨率320x240px推流 vlc “rtsp://xxx.xxx.xxx.xxx:8086?h264=500-20-320-240”使用aac编码推流 vlc “rtsp://xxx.xxx.xxx.xxx:8086?aac”使用默认配置 vlc “rtsp://xxx.xxx.xxx.xxx:8086/”

    2.HTTP 服务器

    使用http协议,你可以使用任何rtsp服务器中的命令,http将会响应一个Session Descriptor vlc “http://xxx.xxx.xxx.xxx:8080/spydroid.sdp” 应为没有使用rtsp协议,所以在vlc退出时数据流不会停止,所以必须使用GET如下URL: curl “http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?stop”同时开始两个流,使用stream id来区分两个流 vlc “http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=0&h264&flash=on” vlc “http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=1&amr” curl “http://xxx.xxx.xxx.xxx:8080/spydroid.sdp?id=1&stop”
    转载请注明原文地址: https://ju.6miu.com/read-900094.html

    最新回复(0)