// Path: src/main/java/org/nextrtc/examples/videochat_with_rest/MyEndpoint.java
// @ServerEndpoint(value = "/signaling",//
//         decoders = MessageDecoder.class,//
//         encoders = MessageEncoder.class)
// public class MyEndpoint extends NextRTCEndpoint {
// }


import org.nextrtc.examples.videochat_with_rest.MyEndpoint;
import org.nextrtc.signalingserver.NextRTCConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
package org.nextrtc.examples.videochat_with_rest.config;


@Configuration
@Import(NextRTCConfig.class)
public class NextRTCEndpointConfig {

    @Bean
// Path: src/main/java/org/nextrtc/examples/videochat_with_rest/MyEndpoint.java
// @ServerEndpoint(value = "/signaling",//
//         decoders = MessageDecoder.class,//
//         encoders = MessageEncoder.class)
// public class MyEndpoint extends NextRTCEndpoint {
// }


// Path: src/main/java/org/nextrtc/examples/videochat_with_rest/config/NextRTCEndpointConfig.java
import org.nextrtc.examples.videochat_with_rest.MyEndpoint;
import org.nextrtc.signalingserver.NextRTCConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

package org.nextrtc.examples.videochat_with_rest.config;


@Configuration
@Import(NextRTCConfig.class)
public class NextRTCEndpointConfig {

    @Bean
    public MyEndpoint myEndpoint() {