Created by dds on 2019/7/26. android_shuai@163.com
| 5 | * android_shuai@163.com |
| 6 | */ |
| 7 | public interface IEvent { |
| 8 | |
| 9 | void onOpen(); |
| 10 | |
| 11 | void loginSuccess(String userId, String avatar); |
| 12 | |
| 13 | |
| 14 | void onInvite(String room, boolean audioOnly, String inviteId, String userList); |
| 15 | |
| 16 | |
| 17 | void onCancel(String inviteId); |
| 18 | |
| 19 | void onRing(String userId); |
| 20 | |
| 21 | |
| 22 | void onPeers(String myId, String userList); |
| 23 | |
| 24 | void onNewPeer(String myId); |
| 25 | |
| 26 | void onReject(String userId, int type); |
| 27 | |
| 28 | // onOffer |
| 29 | void onOffer(String userId, String sdp); |
| 30 | |
| 31 | // onAnswer |
| 32 | void onAnswer(String userId, String sdp); |
| 33 | |
| 34 | // ice-candidate |
| 35 | void onIceCandidate(String userId, String id, int label, String candidate); |
| 36 | |
| 37 | void onLeave(String userId); |
| 38 | |
| 39 | void logout(String str); |
| 40 | |
| 41 | void onTransAudio(String userId); |
| 42 | |
| 43 | void onDisConnect(String userId); |
| 44 | |
| 45 | void reConnect(); |
| 46 | |
| 47 | } |
no outgoing calls
no test coverage detected