package com.sjyt.icom.asst.controller;

import cn.hutool.core.bean.BeanUtil;
import com.sjyt.icom.asst.common.model.message.VerifyClaims;
import com.sjyt.icom.asst.common.model.vo.SrsUrlReqVO;
import com.sjyt.icom.asst.service.impl.StreamUrlServiceService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>StreamUrl</p>
 *
 * @author renyanru
 * @version V1.0.0
 * @date 2022/6/14 17:53
 */
@AllArgsConstructor
@RestController
public class StreamUrlController {
    private final StreamUrlServiceService streamUrlService;

    @PostMapping("rtc")
    public String initRtcUrl(@RequestBody SrsUrlReqVO srsUrlReqVO){
        final VerifyClaims ss = BeanUtil.copyProperties(srsUrlReqVO, VerifyClaims.class, "");
        return null;
    }
}
