create_rtsp_demo,创建一个端口create_rtsp_session,在创建好一个用来播放的节点,vlc播放器打开时匹配同名路径rtsp_set_video,设置码流信息,默认h264while(1){rtsp_get_reltime();获取时间戳rtsp_tx_video 发送码流rtsp_do_event发送码流}rtsp_del_session删除节点rtsp_del_demo删除端口/**描述 :用于rtsp实时播放...
create_rtsp_session,在创建好一个用来播放的节点,vlc播放器打开时匹配同名路径 rtsp_set_video,设置码流信息,默认h264 while(1) { rtsp_get_reltime();获取时间戳 rtsp_tx_video 发送码流 rtsp_do...
参考demo定义加载文件结构体,后续会升级! #define MAX_SESSION_NUM 8 //rtsp最大接口数#define DEMO_CFG_FILE "platform.ini"/* 配置文件结构体 */typedef struct demo_cfg_para{int session_count;struct {char path[64];char video_file[64];char audio_file[64];} session_cfg[MAX_SESSION_NUM];}demo...
Solutions By company size Enterprises Small and medium teams Startups Nonprofits By use case DevSecOps DevOps CI/CD View all use cases By industry Healthcare Financial services Manufacturing Government View all industries View all solutions Resources Topics AI DevOps Security Software...
sever_txvideo(g_rtsplive,sessionpStrem,nSize,stVStream.ps[i].u64); } } s32Ret = HI_MPI_VENC_ReleaseStream(s_LivevencChn, &stVStream; if (HI_SUCCESS != s32 { SAMPLE_PRT("HI_MPI_VENC_Release chn[%d .. failed with%#x!\n" s_vencChn, s32Ret); stV...
sever_txvideo(g_rtsplive,sessionpStrem,nSize,stVStream.ps[i].u64); } } s32Ret = HI_MPI_VENC_ReleaseStream(s_LivevencChn, &stVStream; if (HI_SUCCESS != s32 { SAMPLE_PRT("HI_MPI_VENC_Release chn[%d .. failed with%#x!\n" s_vencChn, s32Ret); stV...
(tv.tv_sec * 1000000ULL + tv.tv_usec);// }/**描述 :用于rtsp实时播放的线程*参数 :NULL*返回值:无*注意 :加载文件platform.ini rtsp://192.168.119.164:8554/mnt/sample/venc/rtsp.2642022-10-21 新增bufferpool和信号量*/void *video_play_rtsp_task(void* arg){cpu_set_t mask;//cpu核的集合...