摄像头操作协议operationprotocol.doc

  1. 1、本文档共9页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摄像头操作协议operationprotocol

Ipcamera audio prototcol音视频访问协议 Introduction 要访问 ipcamera 的视频需使用两个协议:摄像头操作协议和摄像头音视频传输协议。 To visit the ipcamera, we need two protocols: ipcamera operation protocol and audio transmission protocol and video transmission protocal. 客户使用摄像头操作协议登陆摄像头并进行开始和停止音视频操作,当音视频开始后通过摄像头音视频传输协议来进行音视频的数据传输。 The user log in the ipcamera and operate it’s audio function by operation protocol. After openning the audio and vedio And then, transfer the audio and vedio data by using audio and vedio transfer protocol. Both of these two protocol are on the basis of tcp。 数据类型定义(Data Type Definition) 数据类型 Data Type 长度Length(单位:Byte) 字节顺序Byte order INT8 1 INT16 2 低位在前、高位在后 The previous low, high in the post INT16_R 2 低位在后、高位在前 The previous high, low in the post INT32 4 低位在前、高位在后 The previous low, high in the post INT32_R 4 低位在后、高位在前 The previous high, low in the post BINARY_STREAM N 命令格式Command Format 所有协议都是由一条条不同的命令组成的,而所有的命令都遵循着同一种格式: Different protocols are composed with different commands. But all of them comply with the same format. 组成Composition 类型type 说明destcription 协议头 Protocol’s header BINARY_STREAM[4] 摄像头操作协议operation protocol:“MO_O” 摄像头视频传输协议:“MO_V” 操作码 operation code INT16 用来区分同一协议中的不同命令 to distinct different commands in the same protocol 保留reserve INT8 =0 保留reserve BINARY_STREAM[8] 正文长度Text length INT32 命令中的正文长度Text length of command 保留reserve INT32 正文Text BINARY_STREAM[n] 命令中的正文Text of command 摄像头操作协议operation protocol Login_Req(登录请求命令Command of login request) 监控用户向摄像头发出登录请求Send the login request to the camera。 操作码 operation code:0 发送方向Sending direction:监控用户user =( ipcamera 摄像头 正文字段Text numeric field:no numeric field Login_Resp(登录响应命令Command of login response) Ip camera’s response of login 操作码 operation code:1 发送方向Sending direction:摄像头ipcamera -监控用户user 正文字段Text numeric field : 字段 numeric field 类型type 说明destcription Result INT16 0:ok 2:已达到最大的连接许可数,连接将断开Has reached the maximum permitted number of connections, connection will be disconne

文档评论(0)

sunshaoying + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档