Package com.kurento.kmf.content

Examples of com.kurento.kmf.content.WebRtcContentService


  private void initializeWebRtcMediaServices(ServletContext sc)
      throws ServletException {
    for (String wh : findServices(WebRtcContentHandler.class,
        WebRtcContentService.class)) {
      try {
        WebRtcContentService mediaService = Class.forName(wh)
            .getAnnotation(WebRtcContentService.class);
        if (mediaService != null) {
          String name = mediaService.name().isEmpty() ? wh
              : mediaService.name();
          String path = mediaService.path();
          log.debug("Registering WebRtcContentHandler with name "
              + name + " at path " + path);
          ServletRegistration.Dynamic sr = sc.addServlet(name,
              WebRtcMediaHandlerServlet.class);
          sr.addMapping(path);
View Full Code Here

TOP

Related Classes of com.kurento.kmf.content.WebRtcContentService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.