资源简介
海思视频解决方案 rtp 封包 发送 代码
代码片段和文件信息
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include “hi_common_api.h“
#include “avcommon.h“
#include “av_type.h“
#include “dvs_pub.h“
#include “av_var.h“
CHAR args[10][255];
/**********************************************************
Function : HI_Socket
Description : 创建socket
Input : int af int type int protocol
Output : 无
Return Value : int
Date : 2009/10/10
Author : cxw
**********************************************************/
int HI_Socket(int af int type int protocol)
{
return socket(af type protocol);
}
/**********************************************************
Function : HI_SetSockOpt
Description : 设置socket
Input : int s int level int optname
const VOID *optval HI_SockLen_T optlen
Output : 无
Return Value : int
Date : 2009/10/10
Author : cxw
**********************************************************/
int HI_SetSockOpt(int s
int level
int optname
const VOID *optval
HI_SockLen_T optlen)
{
return setsockopt(s level optname optval optlen);
}
/**********************************************************
Function : HI_CloseSocket
Description : 关闭socket
Input : int ulSocket
Output : 无
Return Value : int
Date : 2009/9/25
Author : cxw
**********************************************************/
int HI_CloseSocket(int ulSocket)
{
return close(ulSocket);
}
/**********************************************************
Function : HI_Bind
Description : 与特定socket的绑定地址
Input : int s const struct sockaddr *paddr
int addrlen
Output : 无
Return Value : int
Date : 2009/9/25
Author : cxw
**********************************************************/
int HI_Bind(int s const struct sockaddr *paddr int addrlen)
{
return bind(s (struct sockaddr *)paddr addrlen);
}
/**********************************************************
Function : HI_SOCKET_Udp_GetPort
Description : 获取UDP socket端口
Input : HI_SOCKET fd
Output : 无
Return Value : USHORT
Date : 2009/10/10
Author : cxw
******************************************
- 上一篇:卫星通信知识点总结不包含计算题
- 下一篇:siftDemoV4.zip
相关资源
- 海思系列soc下sip可视电话源码
- Hi3519AV100 4K Smart IP Camera SoC 用户指南
- wpe详细教程65页很详细
- 嵌入式音频视频混合为mp4(mp4v2+faac
- 截取封包工具
- 海思Hi3519AV100数据手册
- 易语言封包拦截模块源码
- 易语言封包截取源码易语言HOOKapi实现
- 飘零封包加密解密工具
- WPE封包截取工具和数据加密解密教程
- 最新易语言发送WPE封包
- smartprinter3.6免注册
- 海思35xx系列芯片选型参考3516DV300、
- Windows防火墙与网络封包截获技术光盘
- 简单明了的网络数据封包解包
- 海思Hi3516 原理图 PCB 设计参考 全套硬
- 海思Hi3520d芯片手册
- HI3559A DEMO原理图
- 华为E2108[海思系列] 免费IPTV认证HOME
- Hi3531A添加串口uart1、uart2、uart3
- 海思3518Ev200水印
- RtspRtcpRtpLoad_h264.tar.gz
- 简单的RTSP RTP RTCP推送H264码流服务器实
- 海思Hi3559V100快速启动 优化指南
- rtsp 服务器代码,VC可编译使用,RTS
- 易语言 异或封包加解密助手1.2 模块
- 华为海思系列NB-IoT模组设计与应用指
- 海思平台效果调试指南
- Delphi封包发送截取源码类似WPE
- 莫封包拦截1.1封包修改,封包搜索,
评论
共有 条评论