• How to geo-block stream targets

    The Wowza Streaming Cloud™ service allows you to decide the countries and regions where your stream can be played. By default, streams are available worldwide, but you can limit viewing by using the geo-blocking feature. Geo-blocking allows you to specify where Wowza CDN stream targets can be accessed so that you can control where your stream can be watched.

    Note: Geo-blocking isn't available for live streams that are broadcast to a hosted webpage, use an embedded player, or for streams that are delivered to custom stream targets. Geo-blocking works only with streams delivered through Wowza CDN stream targets for Adobe HDS and/or Apple HLS playback.

    Contents


    Add a Wowza CDN target with geo-blocking
    Assign the stream target to a transcoder
    More resources

    Add a Wowza CDN target with geo-blocking


    1. Click Advanced on the menu bar, and then click Stream Targets.

    2. Click Add Target, select Wowza CDN - HDS/HLS or Wowza CDN - HLS, and then click Add.

    3. Specify a Target Name and, for Wowza CDN - HDS/HLS targets, a Target Location.

      The Target Name is required but doesn't have to be unique, and it can't be longer than 255 characters.

      The Target Location should be as close as possible to where you're capturing video for Wowza Streaming Cloud.

      Notes:
      • The Target Location can't be changed after the target is created.

      • For Wowza CDN - HLS targets, leave HLS Protocol Properties disabled.
    4. Click Add.

      Wowza Streaming Cloud generates a target and displays the target detail page, which includes a Setup tab and a Geo-blocking tab. Now, specify the geo-blocking configuration.

    5. Click the Geo-blocking tab and then click Edit.

    6. Specify the type of geo-blocking you'd like to enable:

      • Allow streaming only to the following locations Permits streaming only at specified locations.

      • Do not allow streaming to the following locations Prohibits streaming at specified locations.

    7. Specify affected Locations:

      • Click a location in the left list box to select it, and then click the right-pointing arrow to add it to the list of affected locations on the right.

      • Click a location in the right list box to select it, and then click the left-pointing arrow to remove it from the list of affected locations.

    8. (Optional) To allow streaming at IP addresses even if they're within a blocked location, enter one or more IP addresses in the Geo-blocking Override Whitelist field. Separate addresses using commas. The Geo-blocking Override Whitelist field supports Classless Inter-Domain Routing (CIDR) notation for defining subnet masks.

    9. Click Save.

    Assign the stream target to a transcoder


    If the stream target isn't already assigned to a transcoder, assign it to one now. Then, you can start your broadcast.

    1. On the Outputs & Targets tab of the transcoder detail page, click the Add a Stream Target button for any output rendition.

    2. Choose Existing stream target and then select the geo-blocked stream target from the list.

    3. Select the option to use the backup URL if desired, and then click Assign Stream Target.

    4. Repeat Steps 1 through 3 to assign the geo-blocked target to all outputs that the transcoder uses.

    More resources





    Originally Published: 02-05-2016.
    Updated: 09-08-2016.

    If you're having problems or want to discuss this article, post in our forum.