Miracast学习(一)-- Message
2015-07-06 00:00
323 查看
摘要: Miracast的rtsp消息介绍
Miracast是Wi-Fi Alliance于2012年9月19日宣布启动的Wi-Fi CERTIFIED Miracast™认证项目。Miracast设备提供简化发现和设置,用户可以迅速在设备间传输视频。
miracast里面source 发起, 一共有消息如下:
M1: source -> sink
命令:Option
询问Sink端服务能力, 给sink设置Option的trigger
M2:sink->source
命令:Option
受Source 唤起,询问Source 端服务能力
M3:source -> sink
命令:Get_Parameter
询问sink端参数
M4:source -> sink
命令:Set_Parameter
设置sink端参数
M5:source -> sink
命令:setup
初始化sink端,给sink设置setup的trigger
M6:sink-> source
命令:setup
初始化source端
M7/8/9/10:sink -> source
命令:PLAY/TEARDOWN/PAUSE
sink控制rtsp流命令,除了play在建立连接时候自动运行之外,其他等待source的M5 trigger。
M10:sink-> source
命令:SET_PARAMETER
切换主辅sink
M11:sink-> source
命令:SET_PARAMETER
更改connection type
M12:source-> sink
命令:SET_PARAMETER
更改standby 模式
M13:sink-> source
命令:SET_PARAMETER
要求 IDR picture
M14:source-> sink
命令:SET_PARAMETER
建立UIBC
M15:source-> sink; sink-> source
命令:SET_PARAMETER
开关UIBC
M16:source-> sink
命令:Get_PARAMETER
rtsp对话存活性测试
Miracast是Wi-Fi Alliance于2012年9月19日宣布启动的Wi-Fi CERTIFIED Miracast™认证项目。Miracast设备提供简化发现和设置,用户可以迅速在设备间传输视频。
miracast里面source 发起, 一共有消息如下:
M1: source -> sink
命令:Option
询问Sink端服务能力, 给sink设置Option的trigger
M2:sink->source
命令:Option
受Source 唤起,询问Source 端服务能力
M3:source -> sink
命令:Get_Parameter
询问sink端参数
M4:source -> sink
命令:Set_Parameter
设置sink端参数
M5:source -> sink
命令:setup
初始化sink端,给sink设置setup的trigger
M6:sink-> source
命令:setup
初始化source端
M7/8/9/10:sink -> source
命令:PLAY/TEARDOWN/PAUSE
sink控制rtsp流命令,除了play在建立连接时候自动运行之外,其他等待source的M5 trigger。
M10:sink-> source
命令:SET_PARAMETER
切换主辅sink
M11:sink-> source
命令:SET_PARAMETER
更改connection type
M12:source-> sink
命令:SET_PARAMETER
更改standby 模式
M13:sink-> source
命令:SET_PARAMETER
要求 IDR picture
M14:source-> sink
命令:SET_PARAMETER
建立UIBC
M15:source-> sink; sink-> source
命令:SET_PARAMETER
开关UIBC
M16:source-> sink
命令:Get_PARAMETER
rtsp对话存活性测试
Id | Requester | Payload | Behavior | Description | RTSP State |
M1 | WFD source | 6.2.1 | 6.4.1 | Query sink options | Init |
M2 | WFD sink | 6.2.1 | 6.4.2 | Query source options | Init |
M3 | WFD source | 6.1.2-6.1.7, 6.1.10 | 6.4.3 | Query sink capabilities | Init (for WFD Capability Negotiation) Playing (for WFD Capability Re-negotiation) |
M4 | WFD source | 6.1.2-6.1.7 | 6.4.4 | Set sink parameters | Init (for WFD Capability Negotiation) Playing (for WFD capability Re-negotiation) |
M5 | WFD source | 6.1.8 | 6.4.5 | Trigger WFD sink to issue {SETUP|PLAY|TEARDOWN|PAUSE} request. | Init (for SETUP) Playing (for PAUSE, PLAY at “PAUSE” sub-state, and TEARDOWN) |
M6 | WFD sink | 6.2.4 | 6.4.6 | Send SETUP request to WFD source. | Ready |
M7 | WFD sink | 6.4.7 | Send PLAY request to WFD source. WFD source begins audio and/or video streaming. | Ready (for initiate streaming) Playing (at “PAUSE” sub-state) | |
M8 | WFD sink | 6.4.8 | Send TEARDOWN request to WFD source | Playing | |
M9 | WFD sink | 6.4.9 | Send PAUSE request to WFD source. WFD source pauses the audio video stream(s) | Playing | |
M10 | WFD sink | 6.1.11 | 6.4.10 | Send RTSP SET_PARAMETER with wfd-route to change the sink at which audio is rendered. Applies only when both a Primary and a Secondary sinks are in WFD Session with a WFD source. | Playing (optional) |
M11 | WFD sink | 6.1.19 | 6.4.11 | Send RTSP SET_PARAMETER with wfd-connector-type to indicate change of active connector type, when the WFD source and the WFD sink support content protection. | Playing (optional) |
M12 | WFD source WFD sink | 6.1.18 | 6.4.12 | Send RTSP SET_PARAMETER with wfd-standby to indicate that the sender is entering ‘standby’ mode. | Playing (optional) |
M13 | WFD sink | 6.1.20 | 6.4.13 | Send RTSP SET_PARAMETER with wfd-idr-request to request IDR refresh | Playing (optional at the Primary sink to send request, and mandatory at the WFD source to respond) |
M14 | WFD source WFD sink | 6.1.15 | 6.4.14 | Send RTSP SET_PARAMETER with wfd-uibc-capability to select UIBC to be used. | Playing (optional) |
M15 | WFD source WFD sink | 6.1.16 | 6.4.15 | Send RTSP SET_PARAMETER with wfd-uibc-setting to enable/disable UIBC. | Playing (optional) |
M16 | WFD source | 6.4.16 | Send GET_PARAMETER to confirm active RTSP session | Ready Playing |
相关文章推荐
- Managed Media Aggregation using Rtsp and Rtp
- 解决WIFI无线连接或连接上很慢
- Android获取当前已连接的wifi信号强度的方法
- 在Android里完美实现基站和WIFI定位
- Android开发之Wifi基础教程
- ubuntu用wifi连接android调试程序的步骤
- 设置Android设备WIFI在休眠时永不断开的代码实现
- android开发教程之wifi开发示例
- 从「林」开始: imx51-linux-rt3070ap-dhcpd
- 让android支持RTSP及live555分析
- WiFiAssistant 无线承载网络设置助手的开发历程
- 郑轻校园网工具1.0正式版本首发
- 学习笔记--2014年7月7日
- Ubuntu 使用 wifi 连接上网
- Android开发——自动连接指定SSID的wifi热点(不加密/加密)
- Android wifi热点创建和自动连接
- Android -- 网络管理分析
- 手机WiFi无线上网全攻略
- WIFI
- 实时流协议 RTSP