Class ClusterNotificationService

java.lang.Object
io.antmedia.rest.RestServiceBase
io.antmedia.rest.ClusterNotificationService

@Component @Path("/cluster-communication") public class ClusterNotificationService extends RestServiceBase
  • Field Details

    • logger

      protected static org.slf4j.Logger logger
  • Constructor Details

    • ClusterNotificationService

      public ClusterNotificationService()
  • Method Details

    • publishStarted

      @POST @Path("/publish-started-notification/{id}") @Produces("application/json") public Result publishStarted(@PathParam("id") String id, @QueryParam("role") String role, @QueryParam("mainTrackId") String mainTrackId)
    • publishStopped

      @POST @Path("/publish-stopped-notification/{id}") @Produces("application/json") public Result publishStopped(@PathParam("id") String id, @QueryParam("role") String role, @QueryParam("mainTrackId") String mainTrackId)