The internet has emerged as the predominant platform for most people to access entertainment, news, and cultural content that matters to them. The live streaming video market has expanded significantly due to the contributions of industry titans such as Amazon's Twitch, Google's YouTube Live, and Meta's Facebook Live. There are countless creators in this digital realm who stream a variety of activities, including video gaming, "Just Chatting," and hosting TV-style events.

At CCTV Camera World, we are proud to offer a game-changing solution — security cameras with built-in streaming capabilities. Our Live Streaming Cameras can directly broadcast video to platforms like Twitch without a computer or separate encoder. Keep reading to learn how to get your camera up and streaming to Twitch!

If you'd rather just watch the video, you can find it below.

Requirements

  1. Live Streaming Camera from CCTV Camera World
  2. Windows PC for setup
  3. PoE injector or PoE switch (Power over Ethernet)
  4. Reliable Internet with Fast Upload Speed. Static external IP preferred.
  5. Twitch Account (click this link for more information on how to create a Twitch account)

Bench Test and Access the Camera

Before you can begin streaming with the camera, you'll need to power it up, connect it to your network, and access the camera's web interface. We recommend conducting a 'bench test' to test and connect the camera before permanently installing it at its final streaming location. This approach not only helps you become more familiar with the camera's features and functionality but also ensures that it successfully connects to your Twitch account.

  1. Begin by powering the camera: connect it to the PoE injector using an Ethernet cable. Check the labels above the ports on the PoE injector to understand their functions. Ensure that the PoE injector is plugged into a power outlet and is operational; most models have a status light indicating if they are receiving power. Typically, our injectors use the label “P+D” (Power and Data) for the port that connects to the camera. The other port, usually labeled "Data," should be connected to your router or modem.
  2. To access the camera’s web interface, open your preferred web browser (like Chrome, Microsoft Edge, Firefox, etc.) and enter the camera’s IP address in the address bar. You can initiate the search by clicking your browser’s “Go” button or pressing Enter on your keyboard.
    The IP address is generally found on a label on the camera’s box. You will need to use the ConfigTool software to find the camera on your local network if it lacks a label or if you did not provide our shipping team with a specific IP address for your local network.
  3. As long as the camera is correctly configured for your network and you’ve entered the right IP address, you should be able to access the camera's web interface and proceed with the rest of this guide!

Crafting the RTMP URL

If you've successfully accessed your camera's web interface, you've conquered the most challenging part of setting up your video stream on Twitch! The following steps will guide you through accessing your Twitch account and crafting an RTMP URL. This URL will be entered into your camera to start the stream. Before proceeding, ensure that you have an active Twitch account and have fulfilled all their streaming prerequisites.

  1. You’re going to need to create a string of text known as an RTMP URL to copy and paste into your camera. Open up your preferred notepad or text editing software, or better yet, use Microsoft’s aptly named Notepad!
  2. To obtain the second part of the RTMP URL, open Twitch in another browser tab or window and log into your Twitch account. Don’t worry, you’ll get the first part of the URL soon.
  3. On the Twitch homepage, click your account icon on the top-right side of the website. In this menu, select the “Creator Dashboard” option.
  4. Within the Creator Dashboard, click the “Stream Manager” option in the left-hand menu.
  5. On the Stream Manager page, click the “Edit Stream Info” button on the right-hand side under “Quick Actions.” The Quick Actions menu may be at the bottom of your Stream Manager page.This pop-up window allows you to set your title, “going live” notification, category, tags, and stream language. Remember to click “Done” to save your changes.
  6. Next, locate your stream key within your Twitch account.
  7. While in the Creator Dashboard, click the “Settings” option in the main left-hand menu. This opens a submenu where you should click the “Stream” option.
  8. Your stream key is hidden in the Settings and Stream page until you click the “show” button.As the warning states: “Never share your stream key with anyone or show it on stream! Twitch Staff, Admins, or Global Moderators will never ask you for this information.”Click “I Understand” to reveal your stream key.
  9. You can copy the stream key by clicking the Copy button or by highlighting it, right-clicking, and selecting Copy. Alternatively, for the tech-savvy, use the CTRL+C and CTRL+V keyboard shortcuts.Paste your stream key into the notepad you opened in step 1.
  10. Now, determine the best 'ingest' server for your video stream. Typically, the 'best' server is the one closest to you. In our video, ours is in Ashburn, Virginia, a hotspot for data centers.This step is simpler than it sounds. Visit the following URL and copy the #1 recommendation into your notepad: https://help.twitch.tv/s/twitch-ingest-recommendation
  11. Finally, to complete your stream RTMP URL, append your stream key to the end of the stream ingest server. Here’s an example of what a correct stream key looks like:rtmp://iad05.contribute.live-video.net/app/live_661156169_GAlAQIGv4zRndJMON112324toAD5BIi

Starting the Live Video Stream to Twitch

With the RTMP stream URL ready in Notepad and your camera's web interface open, you're all set to bring your stream online! To start this section and your stream, ensure you're back in your camera's web interface.

  1. Log into your camera using the username and password found on the label on the camera’s box.
  2. Click on the “Settings” button located at the top right of the web page.
  3. Navigate to the “Network” menu on the right-hand side to access the Network submenu.
  4. Within the Network submenu, select the “Access Platform” option.
  5. You should now see three tabs in the middle of the Access Platform page: “P2P”, “ONVIF,” and “RTMP.” Click on the “RTMP” tab.
  6. Tick the “Enable” checkbox.
  7. Choose the “Custom” option under Address Type.
  8. Copy and paste the RTMP URL you created earlier into the Custom Address text box.
  9. Hit the “Save” button. You might see a notification about streaming; click “OK” to proceed. The camera will then start transmitting the video stream to Twitch.If your RTMP URL is entered correctly, your stream should begin in just a moment!

Matt Rossi is a Technical Support Manager at CCTV Camera World, a leading CCTV Camera distributor located in Buffalo, NY. He is a technical support expert for everything video surveillance related.

Connect with Matt via: Email  |  YouTube