自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (6)
  • 收藏
  • 关注

原创 序列参数集层(SPS)句法-学习

序列参数集层(SPS)句法

2014-06-29 15:33:50 575

转载 C 查找字符在字符串中位置的方法

[cpp] view plaincop/*****************************************************************************     *  @COPYRIGHT NOTICE     *  @Copyright (c) 2013, ChenMH     *  @All rights r

2014-05-27 13:43:45 1761

转载 SIP入门(一):建立SIP软电话环境

SIP协议学习入门的最快最好的办法就是在PC机上搭建SIP软电话环境,通过抓包软件(如:Wireshark)对数据进行分析学习,这样可以迅速了解熟悉SIP协议,并深入了解通讯会话的流程,从而达到快速入门的目的。        下面就介绍如何搭建SIP软电话环境。        本人使用Yate软件,下载地址为:http://yate.null.ro/pmwiki/index.p

2014-05-24 09:51:11 903

原创 红外驱动-异步通知

看了很多资料,在阻塞io等待红外中断的基础上,添加了异步通知,完美解决主线程不能阻塞的问题。原来的测试程序:#include #include #include #include #include #include #include #include int main(){int fd;if((fd = open("/dev/infrared",

2014-05-03 11:03:42 516

RFC3984协议 H 264 RTP荷载格式

目录 1 介绍 3 1 1 H 264 Codec 3 1 2 参数集概念 4 1 3 网络抽象层单元类型 5 2 约定 6 3 范围 6 4 定义和缩写 6 4 1 定义 6 5 RTP 荷载格式 8 5 1 RTP 头的使用 8 5 2 RTP荷载格式的公共使用 11 5 3 NAL单言字节的用法 12 5 4 打包方式 14 5 5 解码顺序号 DON 15 5 6 单个NAL单元包 18 5 7 复合包 18 5 8 分片单元 FUs 27 6 分包规则 31 6 1 公共分包规则 31 6 2 单个NAL单元方式 32 6 3 非交错方式 32 6 4 交错方式 33 7 打包过程 信息 33 7 1 单NAL单元和非交错方式 33 7 2 交错方式 34 7 3 附加的打包原则 36 8 荷载格式参数 37 8 1 MIME 注册 37 8 2 SDP 参数 52 8 3 例子 58 8 4 参数集考虑 60 9 安全考虑 62 10 拥塞控制 63 11 IANA考虑 64 12 信息化附录: 应用例子 65 12 1 根据ITU T H 241 附录A的视频电话 65 12 2 没有分片数据分区 没有NAL单元聚合的视频电话 65 12 3 使用NAL单元聚合交错打包的视频电话 66 12 4 使用数据分区的视频电话 66 12 5 使用FU和向前纠错的视频电话和流 67 12 6 低位率流 69 12 7 视频流中健壮的包调度 70 13 信息化附录:解码顺序号的原理 71 13 1 介绍 71 13 2 多图像片断交错的例子 71 13 3 健壮包调度的例子 73 13 4 冗余编码片断健壮传输调度的例子 77 13 5 其它设计可能的提醒 77 14 致谢 78 15 参考 78 15 1 标准化参考 78 15 2 参考性的参考 79 作者地址 81 完全版权声明 83">目录 1 介绍 3 1 1 H 264 Codec 3 1 2 参数集概念 4 1 3 网络抽象层单元类型 5 2 约定 6 3 范围 [更多]

2014-05-03

ONVIF_简介

客户端根据 WSDL 描述文档,会生成一个 SOAP 请求消息,该请求会被嵌入在一个HTTP POST请求中,发送到 Web Services 所在的Web 服务器。Web Services 请求处理器解析收到的 SOAP 请求,调用相应的 Web Services。然后再生成相应的 SOAP 应答。Web 服务器得到 SOAP 应答后,会再通过 HTTP应答的方式把信息送回到客户端。

2014-05-03

rtmp规范翻译1.0

         实时消息协议---流的分块 版权声明:   版权(c)2009 Adobe系统有限公司。全权所有。 摘要:   本备忘录描述实时消息协议块流。块流是一种应用层协议,主要用于通过一种合适的传输层协议(例如TCP)复用、打包多媒体数据流(音频,视频和交互数据)。 目录: 简介 术语 定义 字节序、对齐和时间格式 消息格式 握手 握手序列 C0 和 S0 格式 C1 和 S1 格式 C2 和 S2 格式 握手示意图 块 块格式 块基本头 块消息头 类型 0 类型 1 类型 2 类型 3 扩展时间格式 示例 示例 1 示例 2 协议控制消息 设置块的大小 关于消息 参考 规范参考 信息参考 致谢

2014-05-03

RTSP 协议中文版

1 绪论Introduction.........................................................................................................................6 1.1 目的Purpose.....................................................................................................................6 1.2 要求Requirement.............................................................................................................7 1.3 术语Terminology.............................................................................................................7 1.4 协议特点Protocol Properties...........................................................................................8 1.5 RTSP扩展Extending RTSP...............................................................................................9 1.6 操作模式Overall Operation...........................................................................................9 1.7 RTSP状态RTSP States..................................................................................................10 1.8 与其他协议关系 Relationship with Other Protocols.....................................................10 2 符号协定Notational Conventions.............................................................................................11 3 协议参数Protocol Parameter....................................................................................................12 3.1 RTSP版本RTSP Version...............................................................................................12 3.2 RTSP URL........................................................................................................................13 3.3 会议标识 Conference Identifiers............................................................................15 3.4 会话标识Session Identifiers............................................................................................15 3.5 SMPTE 相对时间戳........................................................................................................15 3.6正常播放时间Normal Play Time...................................................................................15 3.7 绝对时间Absolute Time................................................................................................16 3.8 选择标签Options Tags...................................................................................................16 3.8.1 用IANA注册新的选择标签 Registering New Option Tags With IANA............17 4 RTSP消息....................................................................................................................................17 4.1 消息类型Message Type.................................................................................................17 4.2 消息报头Message Headers............................................................................................18 4.3 消息主体Message Body................................................................................................18 4.4 消息长度Message Length.............................................................................................19 5 普通报头域 General Header Fields...........................................................................................19 6 请求Request..............................................................................................................................19 6.1 请求队列Request Line...................................................................................................20 6.2 请求报头域 Request Header Fields................................................................................20 7 回应Response...........................................................................................................................21 7.1 状态行Status-Line.........................................................................................................21 7.1.1 状态代码和原因分析 Status Code and Reason Phrase.......................................21 7.1.2 回应报头域 Response Header Fields..................................................................24 8 实体Entity.................................................................................................................................24 8.1 实体报头域 Entity Header Fields...................................................................................24 8.2 实体主体Entity Body....................................................................................................25 9 连接Connections.......................................................................................................................25 9.1 流水线操作Pipelining...................................................................................................25 9.2 可靠性及确认Reliability and Acknowledgements........................................................26 10 方法定义Method Definitions.................................................................................................26 10.1选择 OPTIONS:.............................................................................................................27 10.2描述DESCRIBE.................................................................................................................28 2 10.3 通告 ANNOUNCE..............................................................................................................29 10.4建立 SETUP.....................................................................................................................30 10.5播放 PLAY.......................................................................................................................31 10.6暂停 PAUSE.....................................................................................................................34 10.7 断开 TEARDOWN..............................................................................................................36 10.8 获取参数Get_PARAMETER......................................................................................37 10.9 设置参数SET_PARAMETER.....................................................................................38 10.10 重定向REDIRECT....................................................................................................39 10.11 录制RECORD............................................................................................................40 10.12 嵌入二进制数据Embedded(interleaved) Binary Data..............................................40 11状态代码定义(Status Code Definitions)..............................................................................42 11.1成功2xx(Success 2xx)..............................................................................................42 11.1.1存储空间低250 Low on Storage Space...........................................................42 11.2 重定向(Redirection 3xx)..........................................................................................43 11.3 客户端错误(Client Error )4xx.................................................................................43 11.3.1方法不允许 (405 Method Not Allowed)............................................................43 11.3.2参数不能理解 (451 Parameter Not Understood)................................................43 11.3.3会议未找到 (452 Conference Not Found)..........................................................43 11.3.4 带宽不足 (453 Not Enough Bandwidth)...........................................................44 11.3.5 会话未找到 (454 Session Not Found)...............................................................44 11.3.6 本状态下该方法无效 (455 Method Not Valid in This State)............................44 11.3.7 报头域对资源无效(456 Header Field Not Valid for Resource )........................44 11.3.8 无效范围(457 Invalid Range)...........................................................................44 11.3.9 参数只读 (458 Parameter Is Read-Only)...........................................................45 11.3.10 不允许合操作(459 Aggregate Operation Not Allowed)...................................45 11.3.11 只允许合操作 (460 Only Aggregate Operation Allowed)...............................45 11.3.12 不支持的传输(461 Unsupported Transport)..................................................45 11.3.13 目标不可达(462 Destination Unreachable)....................................................45 11.3.14 选择不被支持 (551 Option not Supported).....................................................46 12 报头域定义(Header Field Definitions)...............................................................................46 12.1 接受 Accept..................................................................................................................48 12.2 接受编码Accept-Encoding..........................................................................................48 12.3 接受语言Accept-Langue.............................................................................................48 12.4 允许(Allow)..............................................................................................................49 12.5 授权(Authorization)..................................................................................................49 12.6 带宽 Bandwidth............................................................................................................49 12.7 块大小 Blocksize........................................................................................................49 12.8 缓存控制 Cache-Control............................................................................................50 12.9 会议Conference...........................................................................................................53 12.10 连接Connection.........................................................................................................53 12.11 基本内容Content-Base..............................................................................................53 12.12 内容编码(Content-Encoding).................................................................................53 12.13 内容语言Content-Language......................................................................................53 12.14 内容长度(Content-Length)....................................................................................54 3 12.15 内容位置Content-Location........................................................................................54 12.16 内容类型(Content-Type)........................................................................................54 12.17 序列号CSeq...............................................................................................................54 12.18 日期(Date)..............................................................................................................54 12.19 过期Expires.................................................................................................................54 12.20 来自From...................................................................................................................56 12.21 主机Host....................................................................................................................56 12.22 如果匹配If-Match.......................................................................................................56 12.23 从何时更改(If-Modified-Since).............................................................................56 12.24 最近更改(Last-Modified).......................................................................................57 12.25 位置(Location).......................................................................................................57 12.26 代理授权Proxy-Authenticate....................................................................................57 12.27 代理要求Proxy-Require............................................................................................57 12.28 公用性public..............................................................................................................57 12.29 范围Range.................................................................................................................58 12.30 提交方(Referer)......................................................................................................59 12.31 稍后再试Retry-After.................................................................................................59 12.32 要求Require...............................................................................................................59 12.33 RTP信息RTP-Info.......................................................................................................60 12.34 比例Scale...................................................................................................................61 12.35 速度Speed..................................................................................................................62 12.36 服务器(Server).......................................................................................................62 12.37 会话Session...............................................................................................................63 12.38 时间戳Timestamp......................................................................................................63 12.39 传输Transport............................................................................................................64 12.40 不支持Unsupported...................................................................................................68 12.41 用户代理(User-Agent)...........................................................................................68 12.42 变化..............................................................................................................................68 12.43 通过..............................................................................................................................68 12.44 WWW-授权(WWW-Authenticate)..........................................................................68 13 缓存50.....................................................................................................................................68 14 实例Examples.........................................................................................................................70 14.1 要求媒体(单播) Media on Demand (Unicast)........................................................70 14.2 容器文件的流 Streaming of a Container file...............................................................73 14.3 单个流容器文件 Single Stream Container Files..........................................................76 14.4 组播现场媒体表示 Live Media Presentation Using Multicast..................................78 14.5 在存在的会话中播放媒体 Playing media into an existing session.............................79 14.6 录制Recording.............................................................................................................81 15 语法Syntax.............................................................................................................................83 15.1 基本语法Base Syntax..................................................................................................83 16 安全考虑(Security Considerations)....................................................................................84 附录A: RTSP协议状态机 RTSP Protocol State Machines.......................................................88 A.1 客户端状态机Client State Machine...........................................................................88 A.2 服务器端状态机Server State Machine.........................................................................90 4 附录B 同RTP协议的交互 Interaction with RTP..........................................................................92 附录C 使用SDP进行RTSP会话描述 Use of SDP for RTSP Session Descriptions.....................93 C.1 定义Definitions...............................................................................................................94 C.1.1 控制URL Control URL........................................................................................94 C.1.2 媒体流Media streams.........................................................................................95 C.1.3 有效载荷类型Payload type(s)...........................................................................95 C.1.4 详细格式参数Format-specific parameters........................................................95 C.1.5 表示的范围 Range of presentation.....................................................................96 C.1.6 有效时间 Time of availability.............................................................................96 C.1.7 连接信息Connection Information......................................................................96 C.1.8 实体标签Entity Tag...........................................................................................97 C.2 合控制不可用Aggregate Control Not Available..........................................................97 C.3 合控制可用Aggregate Control Available.....................................................................98 附录D 最简单的RTSP实现 Appendix D: Minimal RTSP implementation.................................99 D.1 客户端Client.................................................................................................................99 D.1.1回放Basic Playback..........................................................................................101 D.1.2 授权Authentication-enabled............................................................................101 D.2 服务器Server..............................................................................................................101 D.2.1回放Basic Playback..........................................................................................102 D.2.2授权Authentication-enabled.............................................................................103 附录E 作者地址Authors' Addresses........................................................................................103 附录F 致谢Acknowledgements...............................................................................................104 参考书目References...................................................................................................................105 版权申明 Full Copyright Statement............................................................................................108

2014-05-03

RTSP_Over_HTTP

Tunneling QuickTime RTSP and RTP over HTTP QuickTime 4 1 adds HTTP to its’ Streaming Transport capabilities The addition of HTTP streaming allows QuickTime to utilize HTTP RFC 1945 Hypertext Transfer Protocol 1 0 and RFC 2068 1945 Hypertext Transfer Protocol 1 1 proxies so viewers behind a firewall can access QuickTime presentations The HTTP transport is built from two separate HTTP GET and POST requests initiated by the client The server then binds the connections to form a virtual full duplex connection This paper documents the protocol used forming this type of connection and notes implementation details associated with its use ">Tunneling QuickTime RTSP and RTP over HTTP QuickTime 4 1 adds HTTP to its’ Streaming Transport capabilities The addition of HTTP streaming allows QuickTime to utilize HTTP RFC 1945 Hypertext Transfer Protocol 1 0 and RFC 2068 1945 Hypertext Transfer Protocol 1 1 proxies so viewers behind a fire [更多]

2014-05-03

移动端流媒体直播

第 1 章 概述..................................................................................................................................... 2 第 2 章 协议..................................................................................................................................... 2 2.1 RTMP ................................................................................................................................... 2 2.2 RTMPT ................................................................................................................................. 2 2.3 RTMPS ................................................................................................................................. 2 2.4 RTMPE ................................................................................................................................. 2 2.5 RTMFP ................................................................................................................................. 2 2.6 RTSP/RTP ............................................................................................................................. 3 2.7 MPEG2-TS ............................................................................................................................ 3 2.8 HLS ....................................................................................................................................... 3 2.9 MMS .................................................................................................................................... 3 2.6 协议对比............................................................................................................................ 4 第 3 章 服务器选型 ......................................................................................................................... 4 3.1 FMS .............................................................................................................................

2014-05-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除