The invention belongs to the technical field of network, and relates to a method for realizing two paths of voice communication, which comprises the following steps of: accessing a webpage by a user A and establishing a connection with a streaming server, issuing microphone sound to the streaming server, giving an identification A, receiving a voice with an identification B, wherein the voice is used as a first path of voice; and accessing the webpage by a user B, establishing a connection with the streaming server, issuing microphone sound to the streaming server, giving an identification B with the microphone sound, wherein the microphone sound is used as a second path of voice, at this moment, the user A can hear the speaking of the user B, the user B starts receiving the voice with the identification B, the user B can hear the speaking of the user A, and the user A and the user B can carry out two paths of voice communication. The method can directly realize two paths of voice communication on the webpage without downloading any control, and has strong generality, practical applicability and convenience.