Results 1 to 2 of 2

Thread: GeoIP blocking: transparently substitute alternate stream on block

  1. #1
    Join Date
    May 2015

    Default GeoIP blocking: transparently substitute alternate stream on block

    Hi all,

    I'm playing with redirects in the GeoIP blocking module to give listeners a proper error message when they are blocked from a stream. It sort of works, but not ideal.

    What I'd like to do is transparently substitute either a different stream or a static local file (maybe audio-only vod?) without redirecting the client. Is this possible?


  2. #2



    You can set a different stream name for a player by using the IMediaStreamNameAliasProvider2.resolvePlayAlias methods. If you decide you want the player to play an alternative stream then you set the name here. If you decide to reject playback then you can return null here. You wouldn't be able to send a vod stream to a player if it requested a live stream but you could have a vod file running in a loop on a server side published stream and send that to the player.


Similar Threads

  1. Auto Switch from Default Feed to Alternate
    By Chris.Z in forum Live Streaming and Encoder Discussion
    Replies: 2
    Last Post: 08-02-2012, 09:44 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