Share via


2.2.1.2 WMC_COMPAT_EXCLUDE_RTSP

This flag causes a DMS to exclude res elements in the DIDL-Lite response of the Browse or Search UPnP actions that implement the RTSP protocol in their URLs, as specified by [UPnP]. Elements in the DIDL-Lite response, as demonstrated in the following syntax block, MUST be removed with the use of this flag.

Value: %x2

This flag affects the response of UPnP Actions: ContentDirectory:Browse, ContentDirectory:Search, and ConnectionManager:GetProtocolInfo.

 <res duration="0:03:20.000" bitrate="24000" protocolInfo="rtsp-rtp-udp:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=10;DLNA.ORG_FLAGS=83100000000000000000000000000000;DLNA.ORG_MAXSP=5" sampleFrequency="44100" bitsPerSample="16" nrAudioChannels="2" microsoft:codec="{00000055-0000-0010-8000-00AA00389B71}" xmlns:microsoft="urn:schemas-microsoft-com:WMPNSS-1-0/">rtsp://127.0.0.1:554/WMPNSSv4/2815481477/0_ezI0OTI3N0I5LUU2MUQtNDdEMi05MTI3LTJBNjFDOTFGM0M5N30uMC40.mp3</res>

A consequence of constructing the DIDL-Lite response as shown in this example is that the value of the protocolInfo attribute, as defined in [UPNPCDS1] section 6, on res elements MUST specify only non-RTSP transport-dependent formats. Any res element with a protocolInfo attribute whose value begins with "rtsp-rtp-udp" MUST be excluded from the response. For more information regarding the syntax of the ProtocolInfo string, see [UPNPCNMGR].

Note This flag MUST NOT be used in combination with WMC_COMPAT_EXCLUDE_HTTP because at least one protocol (either HTTP or RTSP) SHOULD be enabled. This flag MUST NOT be used in combination with WMC_COMPAT_INCLUDE_RTSP_FOR_VIDEO.