set parameters.
This function should also initialize the RTSP response(ctx->response) via a call to init_response