Skip to content

Commit

Permalink
1.添加注释
Browse files Browse the repository at this point in the history
  • Loading branch information
ddspwr committed Jan 10, 2019
1 parent 3afcc10 commit dc06dc9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,12 @@
import java.util.Map;

/**
* 视频会议
* 群聊界面
* 1. 一对一视频通话
* 2. 一对一语音通话
*/


public class ChatRoomActivity extends AppCompatActivity implements IWebRTCHelper {

private WebRTCHelper helper;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.dds.webrtclib.utils.Utils;

/**
* 视频会议控制界面
* Created by dds on 2019/1/2.
* [email protected]
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
import org.webrtc.SurfaceViewRenderer;
import org.webrtc.VideoRenderer;

/**
* 单聊界面
* 1. 一对一视频通话
* 2. 一对一语音通话
*/
public class ChatSingleActivity extends AppCompatActivity implements IWebRTCHelper {
private SurfaceViewRenderer local_view;
private SurfaceViewRenderer remote_view;
Expand Down Expand Up @@ -169,6 +174,7 @@ public void toggleMic(boolean enable) {
helper.toggleMute(enable);
}

// 扬声器
public void toggleSpeaker(boolean enable) {
helper.toggleSpeaker(enable);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.dds.webrtclib.utils.Utils;

/**
* 单聊控制界面
* Created by dds on 2019/1/7.
* [email protected]
*/
Expand Down

0 comments on commit dc06dc9

Please sign in to comment.