1、BSI Standards Publication BS ISO/IEC 29341-3-10:2015 Information technology UPnP Device Architecture Part 3-10: Audio Video Device Control Protocol Audio Video Transport ServiceBS ISO/IEC 29341-3-10:2015 BRITISH STANDARD National foreword This British Standard is the UK implementation of ISO/IEC 293
2、41-3-10:2015. The UK participation in its preparation was entrusted to Technical Committee IST/6, Data communications. A list of organizations represented on this committee can be obtained on request to its secretary. This publication does not purport to include all the necessary provisions of a con
3、tract. Users are responsible for its correct application. The British Standards Institution 2015. Published by BSI Standards Limited 2015 ISBN 978 0 580 88277 7 ICS 35.200 Compliance with a British Standard cannot confer immunity from legal obligations. This British Standard was published under the
4、authority of the Standards Policy and Strategy Committee on 30 June 2015. Amendments/corrigenda issued since publication Date T e x t a f f e c t e dBS ISO/IEC 29341-3-10:2015 Information technology UPnP Device Architecture Part 3-10: Audio Video Device Control Protocol Audio Video Transport Service
5、 Technologies de linformation Architecture de dispositif UPnP Partie 3-10: Protocole de contrle de dispositif audio-vido Service de transport audio-vido INTERNATIONAL STANDARD ISO/IEC 29341-3-10 Reference number ISO/IEC 29341-3-10:2015(E) Second edition 2015-06-15 ISO/IEC 2015 BS ISO/IEC 29341-3-10:
6、2015ii ISO/IEC 2015 All rights reserved COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2015 All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the inte
7、rnet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web
8、 www.iso.org Published in Switzerland ISO/IEC 29341-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 ISO/IEC 2015 All rights reserved iii CONTENTS Foreword vi Introduction . vii 1. Scope 1 2. Service Modeling Definitions . 2 2.1. ServiceType . 2 2.2. State Variables . 2 2.2.1. TransportState 6 2.2.2. Transpor
9、tStatus 7 2.2.3. PlaybackStorageMedium 7 2.2.4. RecordStorageMedium . 7 2.2.5. PossiblePlaybackStorageMedia . 7 2.2.6. PossibleRecordStorageMedia 7 2.2.7. CurrentPlayMode 7 2.2.8. TransportPlaySpeed . 8 2.2.9. RecordMediumWriteStatus . 8 2.2.10. CurrentRecordQualityMode 8 2.2.11. PossibleRecordQuali
10、tyModes . 8 2.2.12. NumberOfTracks . 8 2.2.13. CurrentTrack . 8 2.2.14. CurrentTrackDuration . 9 2.2.15. CurrentMediaDuration . 9 2.2.16. CurrentTrackMetaData . 9 2.2.17. CurrentTrackURI . 9 2.2.18. AVTransportURI 9 2.2.19. AVTransportURIMetaData 9 2.2.20. NextAVTransportURI 10 2.2.21. NextAVTranspo
11、rtURIMetaData . 10 2.2.22. RelativeTimePosition 10 2.2.23. AbsoluteTimePosition . 10 2.2.24. RelativeCounterPosition . 10 2.2.25. AbsoluteCounterPosition 10 2.2.26. CurrentTransportActions . 11 2.2.27. LastChange . 11 2.2.28. A_ARG_TYPE_SeekMode . 11 2.2.29. A_ARG_TYPE_SeekTarget 11 2.2.30. A_ARG_TY
12、PE_InstanceID . 11 2.3. Eventing and Moderation . 12 2.3.1. Event Model 12 2.4. Actions . 14 2.4.1. SetAVTransportURI 14 2.4.2. SetNextAVTransportURI. 16 2.4.3. GetMediaInfo 17 2.4.4. GetTransportInfo . 18 2.4.5. GetPositionInfo . 19 2.4.6. GetDeviceCapabilities 20 2.4.7. GetTransportSettings 20 2.4
13、.8. Stop . 21 2.4.9. Play . 22 2.4.10. Pause 23 2.4.11. Record . 24 2.4.12. Seek 25 ISO/IEC 29341-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 i v ISO/IEC 2015 All rights reserved 2.4.13. Next . 26 2.4.14. Previous 27 2.4.15. SetPlayMode . 28 2.4.16. SetRecordQualityMode . 29 2.4.17. GetCurrentTransportAc
14、tions . 30 2.4.18. Common Error Codes . 30 2.5. Theory of Operation . 31 2.5.1. TransportState Control . 31 2.5.2. Transport Settings 32 2.5.3. Navigation . 32 2.5.4. AVTransportURI Concept . 32 2.5.5. AVTransport Abstraction. 33 2.5.6. Supporting multiple virtual Transports 36 2.5.7. Playlist Playb
15、ack . 37 3. XML Service Description 38 4. Test . 48 5. “LastChange” State Variable Schema 49 Annex A (normative) SetAVTransportURI protocol specifics 56 A.1 Application to HTTP streaming 56 A.1.1 AVTransportURI definition 56 A.1.2 Implementation of SetAVTransportURI 56 A.1.3 Cleanup . 56 A.2 Applica
16、tion to RTSP/RTP/UDP streaming . 56 A.2.1 AVTransportURI definition 56 A.2.2 Implementation of SetAVTransportURI 57 A.2.3 Cleanup . 57 A.2.4 Implementation of Transport controls . 57 A.3 Application to internal streaming 58 A.3.1 AVTransportURI definition 58 A.3.2 Implementation of SetAVTransportURI
17、 58 A.3.3 Cleanup . 58 A.4 Application to IEC61883 streaming . 58 A.4.1 AVTransportURI definition 58 A.4.2 Implementation of SetAVTransportURI 58 A.4.3 Cleanup . 59 A.5 Application to vendor-specific streaming . 60 A.5.1 AVTransportURI definition 60 A.5.2 Implementation of SetAVTransportURI 60 A.5.3
18、 Cleanup . 60 ISO/IEC 29341-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 ISO/IEC 2015 All rights reserved v LIST OF TABLES Table 1: State Variables . 2 Table 1.1: allowedValueList for TransportState 3 Table 1.2: allowedValueList for PlaybackStorageMedium 4 Table 1.3: allowedValueList for CurrentPlayMode 5
19、 Table 1.4: allowedValueList for RecordMediumWriteStatus . 5 Table 1.5: allowedValueList for CurrentRecordQualityMode 5 Table 1.6: allowedValueRange for NumberOfTracks 6 Table 1.7: allowedValueRange for CurrentTrack . 6 Table 1.8: allowedValueList for A_ARG_TYPE_SeekMode . 6 Table 2: Event Moderatio
20、n . 12 Table 3: Actions 14 Table 4: Arguments for SetAVTransportURI 14 Table 5: Arguments for SetNextAVTransportURI 16 Table 6: Arguments for GetMediaInfo 17 Table 7: Arguments for GetTransportInfo 18 Table 8: Arguments for GetPositionInfo . 19 Table 9: Arguments for GetDeviceCapabilities 20 Table 1
21、0: Arguments for GetTransportSettings . 20 Table 11: Arguments for Stop 21 Table 12: Arguments for Play . 22 Table 13: Arguments for Pause 23 Table 14: Arguments for Record 24 Table 15: Arguments for Seek 25 Table 16: Arguments for Next 26 Table 17: Arguments for Previous 27 Table 18: Arguments for
22、SetPlayMode 28 Table 19: Arguments for SetRecordQualityMode 29 Table 20: Arguments for GetCurrentTransportActions 30 Table 21: Common Error Codes 30 Table 22: Allowed AVTransportURIs 33 ISO/IEC 29341-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 v i ISO/IEC 2015 All rights reserved Foreword ISO (the Intern
23、ational Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees establish
24、ed by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the fie
25、ld of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for
26、 the different types of document should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see http:/www.iso.org/directives). Attention is drawn to the possibility that some of the elements of this document may be the subject of patent right
27、s. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations received (see www.iso.org/patents). Any trade name used
28、 in this document is information given for the convenience of users and does not constitute an endorsement. For an explanation on the meaning of the ISO specific terms and expressions related to conformity assessment, as well as information about ISOs adherence to the WTO principles in the Technical
29、 Barriers to Trade (TBT) see the following URL: Foreword Supplementary information ISO/IEC 29341-3-10 was prepared by UPnP Implementers Corporation and adopted, under the PAS procedure, by joint technical committee ISO/IEC JTC 1. Information technology, in parallel with its approval by national bodi
30、es of ISO and IEC. This second edition replaces the first edition (ISO/IEC 29341-3-10:2008), which has been technically revised. The list of all currently available parts of ISO/IEC 29341 series, under the general title Information technology UPnP Device Architecture, can be found on the ISO web sit
31、e. ISO/IEC 29341-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 ISO/IEC 2015 All rights reserved vii Introduction ISO and IEC draw attention to the fact that it is claimed that compliance with this document may involve the use of patents as indicated below. ISO and IEC take no position concerning the eviden
32、ce, validity and scope of these patent rights. The holders of - these patent rights have assured ISO and IEC that they are willing to negotiate licenses under reasonable and non-discriminatory terms and conditions with applicants throughout the world. In this respect, the statements of the holders o
33、f these patent rights are registered with ISO and IEC. Intel Corporation has informed ISO and IEC that it has patent applications or granted patents. Information may be obtained from: Intel Corporation Standards Licensing Department 5200 NE Elam Young Parkway MS: JFS-98 USA Hillsboro, Oregon 97124 M
34、icrosoft Corporation has informed ISO and IEC that it has patent applications or granted patents as listed below: 6101499 / US; 6687755 / US; 6910068 / US; 7130895 / US; 6725281 / US; 7089307 / US; 7069312 / US; 10/783 524 /US Information may be obtained from: Microsoft Corporation One Microsoft Way
35、 USA Redmond WA 98052 Philips International B.V. has informed ISO and IEC that it has patent applications or granted patents. Information may be obtained from: Philips International B.V. IP 6 170 007 / US; 6 139 177 / US; 6 529 936 / US; 6 470 339 / US; 6 571 388 / US; 6 205 466 / US Information may
36、 be obtained from: Hewlett Packard Company 1501 Page Mill Road USA Palo Alto, CA 94304 Samsung Electronics Co. Ltd. has informed ISO and IEC that it has patent applications or granted patents. Information may be obtained from: ISO/IEC 29341-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 viii ISO/IEC 2015 Al
37、l rights reserved Digital Media Business, Samsung Electronics Co. Ltd. 416 Maetan-3Dong, Yeongtang-Gu, KR Suwon City 443-742 Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights other than those identified above. ISO and IEC shall not b
38、e held responsible for identifying any or all such patent rights. Original UPnP Document Reference may be made in this document to original UPnP documents. These references are retained in order to maintain consistency between the specifications as published by ISO/IEC and by UPnP Implementers Corpo
39、ration. The following table indicates the original UPnP document titles and the corresponding part of ISO/IEC 29341: UPnP Document Title ISO/IEC 29341 Part UPnP Device Architecture 1.0 ISO/IEC 29341-1 UPnP Basic:1 Device ISO/IEC 29341-2 UPnP AV Architecture:1 ISO/IEC 29341-3-1 UPnP MediaRenderer:1 D
40、evice ISO/IEC 29341-3-2 UPnP MediaServer:1 Device ISO/IEC 29341-3-3 UPnP AVTransport:1 Service ISO/IEC 29341-3-10 UPnP ConnectionManager:1 Service ISO/IEC 29341-3-11 UPnP ContentDirectory:1 Service ISO/IEC 29341-3-12 UPnP RenderingControl:1 Service ISO/IEC 29341-3-13 UPnP MediaRenderer:2 Device ISO/
41、IEC 29341-4-2 UPnP MediaServer:2 Device ISO/IEC 29341-4-3 UPnP AV Datastructure Template:1 ISO/IEC 29341-4-4 UPnP AVTransport:2 Service ISO/IEC 29341-4-10 UPnP ConnectionManager:2 Service ISO/IEC 29341-4-11 UPnP ContentDirectory:2 Service ISO/IEC 29341-4-12 UPnP RenderingControl:2 Service ISO/IEC 29
42、341-4-13 UPnP ScheduledRecording:1 ISO/IEC 29341-4-14 UPnP DigitalSecurityCamera:1 Device ISO/IEC 29341-5-1 UPnP DigitalSecurityCameraMotionImage:1 Service ISO/IEC 29341-5-10 UPnP DigitalSecurityCameraSettings:1 Service ISO/IEC 29341-5-11 UPnP DigitalSecurityCameraStillImage:1 Service ISO/IEC 29341-
43、5-12 UPnP HVAC_System:1 Device ISO/IEC 29341-6-1 UPnP HVAC_ZoneThermostat:1 Device ISO/IEC 29341-6-2 UPnP ControlValve:1 Service ISO/IEC 29341-6-10 UPnP HVAC_FanOperatingMode:1 Service ISO/IEC 29341-6-11 UPnP FanSpeed:1 Service ISO/IEC 29341-6-12 UPnP HouseStatus:1 Service ISO/IEC 29341-6-13 UPnP HV
44、AC_SetpointSchedule:1 Service ISO/IEC 29341-6-14 UPnP TemperatureSensor:1 Service ISO/IEC 29341-6-15 UPnP TemperatureSetpoint:1 Service ISO/IEC 29341-6-16 UPnP HVAC_UserOperatingMode:1 Service ISO/IEC 29341-6-17 UPnP BinaryLight:1 Device ISO/IEC 29341-7-1 UPnP DimmableLight:1 Device ISO/IEC 29341-7-
45、2 UPnP Dimming:1 Service ISO/IEC 29341-7-10 UPnP SwitchPower:1 Service ISO/IEC 29341-7-11 UPnP InternetGatewayDevice:1 Device ISO/IEC 29341-8-1 UPnP LANDevice:1 Device ISO/IEC 29341-8-2 UPnP WANDevice:1 Device ISO/IEC 29341-8-3 UPnP WANConnectionDevice:1 Device ISO/IEC 29341-8-4 UPnP WLANAccessPoint
46、Device:1 Device ISO/IEC 29341-8-5 UPnP LANHostConfigManagement:1 Service ISO/IEC 29341-8-10 UPnP Layer3Forwarding:1 Service ISO/IEC 29341-8-11 UPnP LinkAuthentication:1 Service ISO/IEC 29341-8-12 UPnP RadiusClient:1 Service ISO/IEC 29341-8-13 UPnP WANCableLinkConfig:1 Service ISO/IEC 29341-8-14 UPnP
47、 WANCommonInterfaceConfig:1 Service ISO/IEC 29341-8-15 UPnP WANDSLLinkConfig:1 Service ISO/IEC 29341-8-16 UPnP WANEthernetLinkConfig:1 Service ISO/IEC 29341-8-17 UPnP WANIPConnection:1 Service ISO/IEC 29341-8-18 UPnP WANPOTSLinkConfig:1 Service ISO/IEC 29341-8-19 UPnP WANPPPConnection:1 Service ISO/
48、IEC 29341-8-20 UPnP WLANConfiguration:1 Service ISO/IEC 29341-8-21 UPnP Printer:1 Device ISO/IEC 29341-9-1 UPnP Scanner:1.0 Device ISO/IEC 29341-9-2 UPnP ExternalActivity:1 Service ISO/IEC 29341-9-10 UPnP Feeder:1.0 Service ISO/IEC 29341-9-11 UPnP PrintBasic:1 Service ISO/IEC 29341-9-12 ISO/IEC 2934
49、1-3-10:2015(E)BS ISO/IEC 29341-3-10:2015 ISO/IEC 29341-3-10:2015(E) ISO/IEC 2015 All rights reserved ix UPnP Document Title ISO/IEC 29341 Part UPnP Scan:1 Service ISO/IEC 29341-9-13 UPnP QoS Architecture:1.0 ISO/IEC 29341-10-1 UPnP QosDevice:1 Service ISO/IEC 29341-10-10 UPnP QosManager:1 Service ISO/IEC 29341-10-11 UPnP QosPolicyHolder:1 Service ISO/IEC 29341-10-12 UPnP QoS Architecture:2 ISO/IEC 29341-11-1 UPnP QOS v2 Schema Files ISO/IEC 29341-11-2 UPnP QosDevice:2 Service