mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
123
backToList newPost
Owner: machong
打印 prevThread nextThread

请问cusdk如何获取视频流

[copyURL]

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
ground
poston 2018-5-23 11:40 | authorOnly
machong post on2018-5-23 11:35
那afterDecode_TSP 或 afterDecode_GPS 什么区别啊?  解码视频是不是用 afterDecode_TSP

afterDecode_TSP 是接收串口数据流的回调,afterDecode_GPS 是接收GPS数据流的回调
他们本质上都是afterDecode()回调的重写,只不过MFC demo 重写了接收TSP流和GPS流的afterDecode回调,没有写接收音视频流的afterDecode回调
reply agree Against

使用道具 report

3

主题

78

帖子

219

积分

midMem

Rank: 3Rank: 3

积分
219
bench
 Owner| poston 2018-5-23 11:35 | authorOnly
Mitarai post on2018-5-23 11:33
在打开会话传输成功后,BVCU_DialogParam 中的结构体有个 BVCU_Result (*afterDecode)(BVCU_HDialog hDialo ...

那afterDecode_TSP 或 afterDecode_GPS 什么区别啊?  解码视频是不是用 afterDecode_TSP
reply agree Against

使用道具 report

2

主题

96

帖子

472

积分

midMem

Rank: 3Rank: 3

积分
472
sofa
poston 2018-5-23 11:33 | authorOnly
在打开会话传输成功后,BVCU_DialogParam 中的结构体有个 BVCU_Result (*afterDecode)(BVCU_HDialog hDialog, SAVCodec_Context* pCodec, SAV_Frame* pFrame); 回调,其中pFrame便是BVCU库解码后的码流,可通过该回调获取码流
reply agree Against

使用道具 report

123
backToList newPost

QQ|wireless surveillance

GMT+8, 2024-5-17 19:40 , Processed in 0.055666 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList