package com.platform.modules.trtc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * 开启WebSocket支持
 * @author weiyan
 */
@Configuration
public class TrtcWebSocketConfig{

	 /**
     * 支持websocket
     * 如果不使用内置tomcat，则无需配置
     * @return
     */
//    @Bean
//    public ServerEndpointExporter serverEndpointExporter(){
//        return new ServerEndpointExporter();
//    }

}