Klasse OnKeepAliveServlet

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
server.restful.common.JSIDPlay2Servlet
server.restful.servlets.hls.OnKeepAliveServlet
Alle implementierten Schnittstellen:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable

@WebServlet(name="OnKeepAliveServlet", displayName="OnKeepAliveServlet", urlPatterns="/static/on_keep_alive", description="Keep alive video stream") public class OnKeepAliveServlet extends JSIDPlay2Servlet
Siehe auch:
  • Konstruktordetails

    • OnKeepAliveServlet

      public OnKeepAliveServlet()
  • Methodendetails

    • doGet

      protected void doGet(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response)
      Keep alive video stream.

      Compensates for HLS's missing directives (on_play and on_play_done), notifies that the stream is still being consumed.

      E.g. http://haendel.ddns.net:8080/static/on_keep_alive

      Example parameters:

       name=<UUID>
       
      Setzt außer Kraft:
      doGet in Klasse JSIDPlay2Servlet