How to Geo-Restrict a Stream

Learn how to restrict your live broadcast to be watched in secific countries. This will ban users from those countries.

CastNest Support

Last Update há um ano

Regarding the content security of its clients, CASTNEST focuses on security secrecy, authenticity, and authorisation. We have given our clients several alternatives to place limits on their content to accomplish the required security concerns.


Let's take a look at the document below.

After you create the stream session, it will divert to the stream control panel. If you want to edit an existing stream, go to the left main menu and select Live Streams, then select the stream you want to edit.


Please refer to the document if you have not yet created a stream.


  • "How To Create a Stream using Webcam."
  • "How To Create a Stream using PUSH."
  • "How To Create a Stream using PULL."
  • "How To Create a Stream using SRT."

In edit mode, you will have access to the stream control panel. From this panel, you have multiple configurations for your stream.

Let's select the Security option from the left menu of the stream control panel.

Here you have four different options based on your selected package permissions.

  • Password Protection
  • Geo-Restriction.
  • Domain Control
  • Secure Token
  • Geo-Restriction.

The main goal of this feature is to give content publishers the ability to limit viewership to specific countries. By default, all countries are allowed to view the published content.

Viewers from restricted countries will not be able to access the stream, with the message "Content is Not Available In Your Country"!

For the implementation, you need to click on the select field under the phrase "Restrict."

On clicking, the "Select Field!" drop-down list will appear, containing the names of the countries.

  • Type the name of the country you want to block the list will sort and show the country name you typed. Select the name of the country to mark as blocked. The country or countries' names must appear in the select field.
  • Now click the save button.
  • Now your stream is geo-restricted.

To verify, you can use any VPN service and connect to a VPN server in the restricted country.

  • Now you can check your stream-applied restrictions by clicking on the "Player" option of the stream control panel.
  • In the new window, Castnest Player will open.

To verify that the stream is available in other countries, change your VPN server to any other country, click back on the stream player or click the sharing option to open the stream player in another window.

All viewers from non-restricted countries will be able to view the content without any restrictions.

Your stream is live now with geo-restriction.

In the on-stream control panel, you can use several options to manage the stream behaviour if you want to configure them.

Let's see if it's time to open the shared link in the browser by clicking the share button. The player will open in the next browser window with an actual preview available for the users.

Otherwise, you are good to go. Share the link with the audience. You can grab the sharing link from the sharing menu option in the stream control panel. Click the copy button and share.

Let's see if it's time to open the shared link in the browser by clicking the share button. The player will open in the next browser window with an actual preview available for the users.

For any further questions, our team is always there to support you.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us