This example can be used to participate in video chat for two users on Web Call Server and allows to publish WebRTC stream.
On the screenshot below the participant is connected, publishing a stream and playing stream from the other participant.
The interface of he application is the same as in the example Video Conference, except that two not three videos are played
To analyze the code, let's take classVideoChatActivity.java of the video-chat example, which can be downloaded with corresponding build 220.127.116.11.
Functions of initialization, joining a conference, publishing and playing streams work the same as described in the example Video Conference, but maximum number of participants is limited to two/