三屏合一控制协议W1.docx
- 文档编号:24275305
- 上传时间:2023-05-25
- 格式:DOCX
- 页数:11
- 大小:545.34KB
三屏合一控制协议W1.docx
《三屏合一控制协议W1.docx》由会员分享,可在线阅读,更多相关《三屏合一控制协议W1.docx(11页珍藏版)》请在冰豆网上搜索。
三屏合一控制协议W1
中国普天
三屏合一终端控制协议-W1
2012/7/4
目录
三屏合一控制协议(W1)1
说明1
W1-RTSPSessionSetupMessages2
Introduction2
InteractionDiagram2
SetupRequest2
SetupResponse3
W1-RTSPSessionPINGMessages3
Introduction3
InteractionDiagram3
PingRequest4
PINGResponse4
W1-RTSPSessionTEARDOWNMessages4
Introduction4
InteractionDiagram5
TEARDOWNRequest5
TEARDOWNResponse5
W1-RTSPSessionAnnounceMessages6
Introduction6
InteractionDiagram6
AnnounceRequest6
AnnounceResponse6
AppendixI.RTSPMessageCodesapplicabletointerfaceW17
I.1RTSPResponseCodes7
Table2-RTSPresponsecodesapplicabletointerfaceW17
I.2RTSPTeardownReasonCodes9
Table3-RTSPreasoncodesapplicable10
I.3RTSPAnnounceCodes10
Table4-RTSPannouncecodesapplicabletointerfaceW111
三屏合一控制协议(W1)
说明
三屏合一控制协议用于STB与手机的通信协议,主要目的为实现通过手机将视频播放转移到STB上播放的功能。
此协议规定STB为服务端,等待手机客户端注册,并处理来自手机的数据信息。
端口号:
为保持与NGOD点播通信端口的一致,此协议规定与NGOD点播通信端口的正偏移量为10.
W1-RTSPSessionSetupMessages
Introduction
ThephonesinteractwiththeSTBwiththeRTSPSetupRequestandResponsemessagestoestablishnewsessions.
InteractionDiagram
ThebelowdiagramdepictstheinteractionbetweenthephoneandtheSTBtosetupasession.
SetupRequest
ThephonesendSetupRequesttotheSTBforsessionsetup.AndthepacketshouldcarrythedataofpurchaseToken,timeOffset,clientIDandClientSessionId。
Example
SETUPrtsp:
//10.1.200.31:
554/;purchaseToken=c0c2d8b0-cc82-11d9-8cd50-800200c9a66;clientID=10.1.200.31RTSP/1.0
ClientSessionId:
004F123456D800000001
timeOffset:
3721
SetupResponse
AfterreceivingSessionSetupRequestmessagefromthephone,STBwouldcreateanewOnDemandSessionIdandnotifythephone.TheOnDemandSessionIdwouldbeusedfortheuniqueIDofsessioncreated.
Example
RTSP/1.0200OK
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
W1-RTSPSessionPINGMessages
Introduction
ThephoneshouldinteractwiththeSTBtosendhearbeatmessagestoconveytheSTBthatthesessionisstillalive.ThisisaccomplishedbythephonebyperiodicallysendaRTSPPINGRequesttotheSTB.
InteractionDiagram
ThebelowdiagramdepictstheinteractionbetweenthephoneandtheSTBtomaintainasession.
PingRequest
Example
PINGrtsp:
//10.1.200.31:
554RTSP/1.0
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
PINGResponse
Example
RTSP/1.0200OK
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
W1-RTSPSessionTEARDOWNMessages
Introduction
ThephoneinteractwiththeSTBwiththeRTSPTeardwonRequestandResponsemessagestoteardownexistingsessions.
InteractionDiagram
ThebelowdiagramdepictstheinteractionbetweenthephoneandtheSTBtoteardownanexistedsession.
TEARDOWNRequest
Example
TEARDOWNrtsp:
//10.1.200.31:
554RTSP/1.0
Reason:
200“userpressedstop”
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
TEARDOWNResponse
Example
RTSP/1.0200OK
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
W1-RTSPSessionAnnounceMessages
Introduction
OnsomeoccasionstheSTBwillsendunsolicitedmessagestothephonethathaveactivesessionsrunning.ThesemessagesshallbesentviaRATSPAnnounceRequestandResponsemessagesasdetailsbelow.
InteractionDiagram
ThebelowdiagramdepictstheinteractionbetweenthephoneandtheSTBtonotifythephoneofinformationrelatingtothesession.
AnnounceRequest
Example
ANNOUNCErtsp:
//10.1.200.31:
554RTSP/1.0
Notice:
5402"ClientSessionTerminated"eventdate=19930310T023735.013Znpt=342554
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
AnnounceResponse
Example
RTSP/1.0200OK
OnDemandSessionId:
be074250-cc5a-11d9-8cd5-0800200c9a66
AppendixI.RTSPMessageCodesapplicabletointerfaceW1
ThissectiondocumentshowtheRTSPcodesspecifiedintheNGODcommonRTSP
specificationareusedininterfaceW1.ThissectionessentiallydocumentsthesubsetofRTSPcodesthatareapplicabletointerfaceW1.
I.1RTSPResponseCodes
Table2belowspecifieswhichRTSPresponsecodesoftheNGODCommonRTSPspecificationareapplicabletointerfaceW1.ThetableincludesthemeaningofeachresponsecodewithinthecontextofinterfaceW1.
Table2-RTSPresponsecodesapplicabletointerfaceW1
I.2RTSPTeardownReasonCodes
Table3belowspecifieswhichRTSPteardownreasoncodesoftheNGODCommonRTSPspecificationareapplicable.Thetableincludesthemeaningofeachreasoncodewithinthecontext.
Table3-RTSPreasoncodesapplicable
TeardownReasonCodeDescription
I.3RTSPAnnounceCodes
Table4specifieswhichRTSPannouncecodesandmessagesoftheNGODCommonRTSPspecificationareapplicabletointerfaceW1.Thetable
includesthemeaningofeachannouncecodewithinthecontextofinterfaceW1.
Table4-RTSPannouncecodesapplicabletointerfaceW1
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 合一 控制 协议 W1