When a Miracast Source receives a Beacon message that includes a Vendor Extension Attribute (section 2.2.8), it MUST read the Capability attribute (section 2.2.8.1), and store this information in the Sink Capabilities (section 3.2.1). If the MiracastOverInfrastructureSupport bit is not set, the Source MUST fall back to using standard Miracast [WF-WSC2.0.2].
If Miracast over Infrastructure is supported by the Sink, the Source MUST do the following.
If one or more IP Address attributes (section 2.2.8.5) are present in the message, the Source SHOULD<5> skip name resolution and treat the addresses as the result of host name resolution, by proceeding as specified in section 3.2.5.3; however, the Source MAY instead ignore them and continue as if they were not present.
If host name resolution was not skipped, the Source MUST do the following.
Start its Discovery timer (section 3.2.2) to expire after an implementation-specific<6> period of time if host name resolution does not complete.
Begin host name resolution on the name in the Host Name Attribute (section 2.2.8.2), using DNS and/or mDNS, the choice of which is implementation-specific.<7>