123456789101112131415161718 |
- #pragma once
- class IRemoteNotify
- {
- public:
- virtual void OnConnected(bool bRet) = 0;
- virtual void OnRobot(const remote::Robot& robot) = 0;
- virtual void OnAdd(int32_t uid, bool bRet) = 0;
- virtual void OnVideoReq(int32_t index, int32_t peer) = 0;
- virtual void OnVideoOffer(int32_t index, const char* type, const char* sdp) = 0;
- virtual void OnVideoAnswer(int32_t index, const char* type, const char* sdp) = 0;
- virtual void OnVideoCandidate(int32_t index, const char* candidate,
- int32_t sdp_mline_index,
- const char* sdp_mid) = 0;
- virtual void OnNotifyState(int32_t rid, UserState state) = 0;
- virtual void OnVideoRep(bool ok, int32_t index, int32_t peer) = 0;
- virtual void OnNotifyDel(int32_t peer, EgoType type) = 0;
- virtual void OnVideoLeave(int32_t peer, EgoType type) = 0;
- };
|