boolean tf_peer_activate(freerdp_peer* client) { testPeerContext* context = (testPeerContext*) client->context; rfx_context_reset(context->rfx_context); context->activated = true; if (test_pcap_file != NULL) { client->update->dump_rfx = true; tf_peer_dump_rfx(client); } else { test_peer_draw_background(client); } return true; }
BOOL tf_peer_activate(freerdp_peer* client) { testPeerContext* context = (testPeerContext*) client->context; context->activated = TRUE; //client->settings->CompressionLevel = PACKET_COMPR_TYPE_8K; //client->settings->CompressionLevel = PACKET_COMPR_TYPE_64K; //client->settings->CompressionLevel = PACKET_COMPR_TYPE_RDP6; client->settings->CompressionLevel = PACKET_COMPR_TYPE_RDP61; if (test_pcap_file != NULL) { client->update->dump_rfx = TRUE; if (!tf_peer_dump_rfx(client)) return FALSE; } else test_peer_draw_background(client); return TRUE; }