Advertisement

SRT一个简单的客户端和服务端

阅读量:

1.客户端功能设计与实现

系统具备接收UDP数据流并将其转换为SRT流进行传输的功能,同时可从服务器端获取SRT流,并能够对SRT会话模式进行测试。该项目的实现依赖于msprotocol: 一个轻量级的网络协议,扩展方便使用简单。可应用于X86和ARM64嵌入式设备,目前已支持file,hls,http,rtmp,msav,raw,rtp,rtsp,tcp,udp,udplite,srt等协议;

复制代码
 #include <stdlib.h>

    
 #include <stdio.h>
    
 #include <string.h>
    
 #include <fcntl.h>
    
 #include <errno.h>
    
 #include <sys/types.h>
    
 #include <netinet/in.h>
    
 #include <arpa/inet.h>
    
 #include <n

全部评论 (0)

还没有任何评论哟~