//package com.wecloud.im.ws.strategy.concrete;
//
//import com.fasterxml.jackson.core.JsonProcessingException;
//import com.wecloud.im.service.ImApplicationService;
//import com.wecloud.im.service.ImClientBlacklistService;
//import com.wecloud.im.service.ImClientService;
//import com.wecloud.im.service.ImConversationMembersService;
//import com.wecloud.im.service.ImInboxService;
//import com.wecloud.im.service.ImMessageService;
//import com.wecloud.im.ws.annotation.ImCmdType;
//import com.wecloud.im.ws.enums.WsRequestCmdEnum;
//import com.wecloud.im.ws.model.request.ReceiveVO;
//import com.wecloud.im.ws.sender.PushTask;
//import com.wecloud.im.ws.service.WriteDataService;
//import com.wecloud.im.ws.strategy.AbstractImCmdStrategy;
//import com.wecloud.rtc.entity.RtcSubCmd;
//import io.netty.channel.ChannelHandlerContext;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
///**
// * 处理RTC信令消息
// */
//@ImCmdType(type = WsRequestCmdEnum.SINGLE_RTC)
//@Service
//@Slf4j
//public class SingleRtcStrategy extends AbstractImCmdStrategy {
//
//    @Autowired
//    private ImClientBlacklistService imClientBlacklistService;
//
//    @Autowired
//    private WriteDataService writeDataService;
//
//    @Autowired
//    private ImMessageService imMessageService;
//
//    @Autowired
//    private ImInboxService imInboxService;
//
//    @Autowired
//    private ImApplicationService imApplicationService;
//
//    @Autowired
//    private ImConversationMembersService imConversationMembersService;
//
//    @Autowired
//    private ImClientService imClientService;
//
//    @Autowired
//    private PushTask systemPush;
//
//    @Override
//    public void process(ReceiveVO receiveModel, ChannelHandlerContext ctx, String data, String appKey, String clientId) throws JsonProcessingException {
//
//        // 指令判空
//        if (receiveModel.getData().get(RtcSubCmd.SUB_CMD) == null) {
//            return;
//        }
//
//        String cmd = receiveModel.getData().get(RtcSubCmd.SUB_CMD).toString();
//        switch (cmd) {
////            //创建频道
////            case RtcSubCmd.CREATE:
////                break;
////
////            //加入频道
////            case RtcSubCmd.JOIN:
////                break;
////
////            //拒绝加入频道
////            case RtcSubCmd.REJECT:
////                break;
////
////            //SDP数据转发
////            case RtcSubCmd.SDP:
////                break;
////
////            //主动挂断(离开频道)
////            case RtcSubCmd.LEAVE:
////                break;
//
//        }
//
//    }
//
//}
