7 Appendix B: Protocol Information String (PRT)

Partner applications can query Media Center Extender devices to determine the supported Audio Visual (AV) media file formats supported by those devices. Devices use the PRT string property to expose the supported AV formats of the specific device.

The format for the protocol information string is mentioned in <section 2.5.2> ProtocolInfo Concept in [UPNPAV].

The <additional info> field is a name value pair separated by ";". The name value pairs follow the format of <org-name>_<token-name>=<value>. Additional information for the same can be found in <section 2.5.2.1> 4th Field - <additionalInfo> [UPNPAV].

The <org-name>_<token-name> values used are:

  • DLNA.ORG_PN

  • MICROSOFT.COM_PN

The following table shows all the supported media types for <org-name>="MICROSOFT.COM" and <org-name>="DLNA.ORG" respectively. The terms used in the supported column are further described in subsequent tables.

<org-name>="MICROSOFT.COM"

Video media type

Audio media type

WMALSL

N/A

MTG_WMA_LOSSLESS

WAV_PCM

N/A

MTG_PCM

DVRMS_MPEG2

MTG_MPV

MTG_MPA

DVRMS_MPEG2

N/A

MTG_AC3

VC1_APL2_FULL

MTG_VC1

MTG_WMA_STD

VC1_APL2_PRO

MTG_VC1

MTG_WMA_PRO

VC1_APL3_FULL

MTG_VC1

MTG_WMA_STD

VC1_APL3_PRO

MTG_VC1

MTG_WMA_PRO

MPEG4_P2_MP4_ASP_L5_MPEG1_L3

MTG_MPEG4P2

MTG_MP3

MPEG4_P2_AVI_ASP_L5_MPEG1_L3

MTG_MPEG4P2

MTG_MP3

MPEG4_P2_MP4_ASP_L5_AC3

MTG_MPEG4P2

MTG_AC3

MPEG4_P2_AVI_ASP_L5_AC3

MTG_MPEG4P2

MTG_AC3

AVC_AVI_MP_HD_L4_1_MPEG1_L3

MTG_MPEG4P10

MTG_MP3

AVC_MP4_MP_HD_MPEG1_L3

MTG_MPEG4P10

MTG_MP3

AVC_MP4_MP_HD_AC3

MTG_MPEG4P10

MTG_AC3

AVC_AVI_MP_HD_L4_1_AC3

MTG_MPEG4P10

MTG_AC3

<org-name>="DLNA.ORG"

Video media type

Audio media type

WMABASE

N/A

MTG_WMA_STD

WMAFULL

N/A

MTG_WMA_STD

WMAPRO

N/A

MTG_WMA_PRO

MP3

N/A

MTG_MP3

AC3

N/A

MTG_AC3

LPCM

N/A

MTG_PCM

MPEG_ES_PAL

MTG_MPV

N/A

MPEG_ES_NTSC

MTG_MPV

N/A

MPEG_ES_PAL_XAC3

MTG_MPV

MTG_AC3

MPEG_ES_NTSC_XAC3

MTG_MPV

MTG_AC3

WMVMED_BASE

MTG_WMV

MTG_WMA_STD

WMVMED_FULL

MTG_WMV

MTG_WMA_STD

WMVMED_PRO

MTG_WMV

MTG_WMA_PRO

WMVHIGH_FULL

MTG_WMV

MTG_WMA_STD

WMVHIGH_PRO

MTG_WMV

MTG_WMA_PRO

WMVSPLL_BASE

MTG_WMV

MTG_WMA_STD

WMVSPML_BASE

MTG_WMV

MTG_WMA_STD

WMVSPML_MP3

MTG_WMV

MTG_MP3

MPEG1

MTG_MPV

MTG_MPA

MPEG_PS_NTSC

MTG_MPV

MTG_AC3

MPEG_PS_NTSC

N/A

MTG_PCM

MPEG_PS_NTSC

N/A

MTG_MPA

MPEG_PS_PAL

MTG_MPV

MTG_AC3

MPEG_PS_PAL

MTG_MPV

MTG_PCM

MPEG_PS_PAL

MTG_MPV

MTG_MPA

MPEG4_P2_TS_ASP_MPEG1_L3

MTG_MPEG4P2

MTG_MP3

MPEG4_P2_TS_ASP_AC3

MTG_MPEG4P2

MTG_AC3

AVC_MP4_MP_SD_MPEG1_L3

MTG_MPEG4P10

MTG_MP3

AVC_TS_MP_HD_MPEG1_L3

MTG_MPEG4P10

MTG_MP3

AVC_MP4_MP_HD_AC3

MTG_MPEG4P10

MTG_AC3

AVC_MP4_MP_SD_AC3

MTG_MPEG4P10

MTG_AC3

AVC_TS_MP_HD_AC3

MTG_MPEG4P10

MTG_AC3

The following tables shows the media type mappings from the previous table in the supported video and audio column based on the protocol used.

HTTP

Media type

Meaning

Default value

MTG_MPA

MPEG Audio

Yes

MTG_AC3

AC3 Audio

Yes

MTG_AAC

AAC Audio

Yes

MTG_HE_AAC

AAC HE Audio

Yes

MTG_PCM

PCM Audio

Yes

MTG_MP3

MP3 Audio

Yes

MTG_MPV

MPEG 1/2 Video

Yes

MTG_WMV

WMV Video

Yes

MTG_VC1

VC-1 video

Yes

MTG_MPEG4P10

MPEG 4 Part 10 Video

Yes

MTG_MPEG4P2

MPEG 4 Part 2 Video

Yes

RTP

Media type

Meaning

Default value

MTG_MPA

MPEG Audio

Yes

MTG_AC3

AC3 Audio

No

MTG_PCM

PCM Audio

No

MTG_WMA_STD

WMA Audio Std

Yes

MTG_WMA_PRO

WMA Audio Pro

Yes

MTG_WMA_LOSSLESS

WMA-Lossless Audio

Yes

MTG_MP3

MP3 Audio

Yes

MTG_MPV

MPEG 1 and MPEG 2 Video

Yes

MTG_WMV

WMV Video

Yes

MTG_VC1

VC-1 video

Yes

MTG_MPEG4P10

MPEG 4 Part 10 Video

No

MTG_MPEG4P2

MPEG 4 Part 2 Video

No

The "Default Value" in the previous tables is supported when the PRT string query returns a "null".

The protocol information is used to describe the string formatted as:< protocol >" :"< network >" :"< contentFormat >" :"< additional Info >

The sample protocol information string based on the format above is shown here:

rtsp-rtp-udp:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL;

DLNA.ORG_PN=WMAPRO;MICROSOFT.COM_PN=WMALSL

rtsp-rtp-udp:*:audio/mpeg:DLNA.ORG_PN=MP3

http-get:*:audio/L16:MICROSOFT.COM_PN=WAV_PCM

rtsp-rtp-udp:*:video/mpeg:MICROSOFT.COM_PN=DVRMS_MPEG2

rtsp-rtp-udp:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_PRO;

MICROSOFT.COM_PN=WMVHIGH_LSL;DLNA.ORG_PN=WMVHIGH_FULL;

MICROSOFT.COM_PN=VC1_APL2_FULL;MICROSOFT.COM_PN=VC1_APL2_PRO;

MICROSOFT.COM_PN=VC1_APL2_LSL;MICROSOFT.COM_PN=WMVIMAGE1_MED;

MICROSOFT.COM_PN=WMVIMAGE2_MED

http-get:*:video/mpeg:DLNA.ORG_PN=MPEG1;

DLNA.ORG_PN=MPEG_PS_NTSC;DLNA.ORG_PN=MPEG_PS_PAL

For more information about the formatting of the protocol information string and the naming convention please refer to [UPNPAV].