3 Structure Examples
The following is an example of an M3 request for device metadata (section 2.1).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 142 wfd_video_formats wfd_audio_codecs intel_friendly_name intel_sink_manufacturer_name intel_sink_model_name intel_sink_device_URL intel_sink_version
The following is an example of an M3 response for device metadata (section 2.1).
-
RTSP/1.0 200 OK CSeq: 2 Content-Length: 402 Content-Type: text/parameters wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 intel_friendly_name: Contoso Scr 2000 intel_sink_manufacturer_name: Contoso Inc. intel_sink_model_name: ScreenMaster 2000 intel_sink_device_URL: http://www.example.com/screenmaster/ intel_sink_version: product_ID=G4716-2000 hw_version=1.1.5.1345 sw_version=1.2.4.2451
The following is an example of an M3 request for enhanced diagnostics (section 2.2).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 69 wfd_video_formats wfd_audio_codecs microsoft_diagnostics_capability
The following is an example of an M3 response for enhanced diagnostics (section 2.2).
-
RTSP/1.0 200 OK CSeq: 2 Content-Length: 388 Content-Type: text/parameters wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_diagnostics_capability: supported
The following is an example of a TEARDOWN request for enhanced diagnostics.
-
TEARDOWN rtsp://192.168.173.1/wfd1.0/streamid=0 RTSP/1.0 CSeq: 329 Session: 12345678 Content-Type: text/parameters Content-Length: 74 microsoft_teardown_reason: C00D4278 No RTP data was provided for 2 minutes
The following is an example of an M3 request for dynamic resolution and refresh rate (section 2.3).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 69 wfd_video_formats wfd_audio_codecs microsoft_format_change_capability
The following is an example of an M3 response for dynamic resolution and refresh rate (section 2.3).
-
RTSP/1.0 200 OK CSeq: 2 Content-Length: 166 Content-Type: text/parameters wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_format_change_capability: supported
The following is an example of an M3 request for latency management (section 2.4).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 78 wfd_video_formats wfd_audio_codecs microsoft_latency_management_capability
The following is an example of an M3 response for latency management (section 2.4).
-
RTSP/1.0 200 OK CSeq: 2 Content-Length: 173 Content-Type: text/parameters wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_latency_management_capability: supported
The following is an example of a SET_PARAMETER request for latency mode changes.
-
SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 7 Content-Type: text/parameters Content-Length: 46 microsoft_latency_management_capability: low
The following is an example of an M2 request and response where the response contains Display Source Identification (section 2.5).
-
OPTIONS * RTSP/1.0 CSeq: 2 Require: org.wfa.wfd1.0 RTSP/1.0 200 OK CSeq: 2 Date: Sun, Aug 21 2011 04:20:53 GMT Public: org.wfa.wfd1.0, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER Server: MSMiracastSource/10.00.10011.0000 guid/be113d06-9e40-43e4-98e6-540a325e9ced
The following is an example of an M3 request for device capabilities (section 2.6).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 63 wfd_video_formats wfd_audio_codecs wfd_idr_request_capability
The following is an example of an M3 response for device capabilities (section 2.6).
-
RTSP/1.0 200 OK CSeq: 2 Content-Length: 374 Content-Type: text/parameters wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 wfd_idr_request_capability: 1
The following is an example of an M3 request for extended video formats using the wfdx-video-formats parameter (section 2.7.1.1).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 63 wfdx_video_formats wfd_audio_codecs wfd_client_rtp_ports
The following is an example of an M3 response for extended video formats using the wfdx-video-formats parameter (section 2.7.1.1).
-
RTSP/1.0 200 OK CSeq: 2 Content-Type: text/parameters Content-Length: 228 wfd_audio_codecs: LPCM 00000003 00, AAC 00000001 00, AC3 00000000 00 wfdx_video_formats: 0040 00 0001 0001 0000500001 0010000000 00000000 00 0000 0000 11 none none wfd_client_rtp_ports: RTP/AVP/UDP;unicast 19000 0 mode=play
The following is an example of an M3 request for extended video formats using the microsoft-video-formats parameter (section 2.7.1.2).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 88 wfd_video_formats wfd_audio_codecs wfd_client_rtp_ports microsoft_video_formats
The following is an example of an M3 response for extended video formats using the microsoft-video-formats parameter (section 2.7.1.2).
-
RTSP/1.0 200 OK CSeq: 2 Content-Type: text/parameters Content-Length: 259 wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00, AAC 00000001 00, AC3 00000000 00 wfd_client_rtp_ports: RTP/AVP/UDP;unicast 19000 0 mode=play microsoft_video_formats: 0000001fffff
The following is an example of an M3 request for RTCP support (section 2.8).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 60 wfd_video_formats wfd_audio_codecs microsoft_rtcp_capability
The following is an example of an M3 response for RTCP support (section 2.8).
-
RTSP/1.0 200 OK Content-Type: text/parameters Content-Length: 157 wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_rtcp_capability: supported
The following is an example of an M3 request for high-fidelity color space conversion (section 2.9).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 67 wfd_video_formats wfd_audio_codecs microsoft_color_space_conversion
The following is an example of an M3 response for high-fidelity color space conversion (section 2.9).
-
RTSP/1.0 200 OK Content-Type: text/parameters Content-Length: 164 wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_color_space_conversion: supported
The following is an example of an M3 request for the maximum supported bitrate (section 2.10).
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 56 wfd_video_formats wfd_audio_codecs microsoft_max_bitrate
The following is an example of an M3 response for the maximum supported bitrate (section 2.10).
-
RTSP/1.0 200 OK Content-Type: text/parameters Content-Length: 152 wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_max_bitrate: 25000000
The following is an example of an M3 request for multi-screen management (section 2.11)
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 67 wfd_video_formats wfd_audio_codecs microsoft_multiscreen_projection
The following is an example of an M3 response for multi-screen management (section 2.11)
-
RTSP/1.0 200 OK Content-Type: text/parameters Content-Length: 164 wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_multiscreen_projection: supported
The following is an example of a SET_PARAMETER request for multi-screen management, setting the source screen to be the primary screen (section 2.11)
-
SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 7 Content-Type: text/parameters Content-Length: 43 microsoft_multiscreen_projection: primary
The following is an example of a SET_PARAMETER request for multi-screen management, setting the source screen to secondary with a recommended resolution of 640x480 and a recommended bitrate of 1Mbps (section 2.11)
-
SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 7 Content-Type: text/parameters Content-Length: 61 microsoft_multiscreen_projection: secondary 640 480 1000000
The following is an example of an M3 request for source audio mute (section 2.12)
-
GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 2 Content-Type: text/parameters Content-Length: 55 wfd_video_formats wfd_audio_codecs microsoft_audio_mute
The following is an example of an M3 response for source audio mute (section 2.12)
-
RTSP/1.0 200 OK Content-Type: text/parameters Content-Length: 152 wfd_video_formats: 00 00 01 01 00000001 00000000 00000000 00 0000 0000 00 none none wfd_audio_codecs: LPCM 00000003 00 microsoft_audio_mute: supported
The following is an example of a SET_PARAMETER request for source audio mute, disabling the audio stream from the source device (section 2.12)
-
SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0 CSeq: 7 Content-Type: text/parameters Content-Length: 25 microsoft_audio_mute: 1