async def METHOD_NAME(self, timing_server_port: int, control_client_port: int) -> None:
    """To setup connection prior to starting to stream."""
    verifier = pair_verify(self.context.credentials, self.rtsp.connection)
    await verifier.verify_credentials()
    await self.rtsp.announce(
        self.context.bytes_per_channel,
        self.context.channels,
        self.context.sample_rate,
        self.context.password,
    )
    resp = await self.rtsp.METHOD_NAME(
        headers={
            "Transport": (
                "RTP/AVP/UDP;unicast;interleaved=0-1;mode=record;"
                f"control_port={control_client_port};"
                f"timing_port={timing_server_port}"
            )
        }
    )
    _, options = parse_transport(resp.headers["Transport"])
    self.context.timing_port = int(options.get("timing_port", 0))
    self.context.control_port = int(options["control_port"])
    self.context.rtsp_session = int(resp.headers["Session"])
    self.context.server_port = int(options["server_port"])
    _LOGGER.debug(
        "Remote ports: control=%d, timing=%d, server=%d",
        self.context.control_port,
        self.context.timing_port,
        self.context.server_port,
    )