The invention relates to a transmission method and device based on network environment self-adaption and a storage medium, and the method comprises the steps: trying to establish direct connection with a cloud PC
server if a user terminal is in an
intranet and is in the same-level network with the cloud PC
server; if the user terminal is in the
intranet but is not in the same-level network with the cloud PC
server, trying to establish connection with the cloud PC server through P2P, and if the user terminal does not successfully establish connection with the cloud PC server through the media Trans; if the user terminal is in the external network and the VPN connected with the user terminal and the cloud PC server are in the same level of network, connecting the VPN through dialing and directly connecting the
IP address of the cloud PC server to realize direct connection of media streams; and if the user terminal is in an external network, but the VPN connected with the user terminal and the cloud PC server are not in the same level of network, the user terminal is connected with the VPN through dialing, the VPN tries to establish connection with the cloud PC server through P2P, and if the connection is not successful, the VPN tries to establish connection with the cloud PC server through Trans.