Results 1 to 2 of 2

Thread: Status errors for HLS Live Streaming

  1. Question Status errors for HLS Live Streaming

    Hi,

    I came here because something is bothering me for a while with HLS.
    Sometimes, I need to refused some viewers from the live stream (bad referer, ip, ...) however there we have an issue telling the client in a nice way they have been disconnected

    For RTMP customers, I'm already using :
    sendStreamOnStatusError(stream, "NetStream.Play.Failed", "Too many viewer");
    client.shutdownClient();
    But for HLS, I only found :
    httpCupertinoStreamingSession.rejectSession();
    This function works great to refuse connections, but I don't find any way to send informations/status with it.
    What is the recommendation in a case like this?

    Thanks

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    To achieve a similar effect to sendStreamOnStatusError, you'd have to redirect to an error page.

Similar Threads

  1. A method to check the status of up-steam status
    By khaled in forum Live Streaming and Encoders
    Replies: 4
    Last Post: 03-17-2014, 11:56 AM
  2. CRC errors in HLS
    By alexco in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 04-29-2013, 06:09 AM
  3. Creating API - Retrieve status of single live stream and all live streams
    By shadowprotocol in forum Live Streaming and Encoder Discussion
    Replies: 5
    Last Post: 12-06-2011, 08:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •