{"id":19200,"date":"2020-09-04T12:46:15","date_gmt":"2020-09-04T17:46:15","guid":{"rendered":"https:\/\/learncctv.com\/?p=19200"},"modified":"2020-09-05T07:31:25","modified_gmt":"2020-09-05T12:31:25","slug":"ip-camera-stream-to-website","status":"publish","type":"post","link":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/","title":{"rendered":"How to stream an IP Camera to a website via WebRTC (Free software)"},"content":{"rendered":"<p style=\"text-align: justify;\">In this article, I show how to stream an IP camera to a website via WebRTC.<\/p>\n<p style=\"text-align: justify;\"><span data-preserver-spaces=\"true\">You can use&nbsp;<\/span><a href=\"http:\/\/umediaserver.net\/umediaserver\/overview.html\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener noreferrer\"><span data-preserver-spaces=\"true\">free software<\/span><\/a><span data-preserver-spaces=\"true\">&nbsp;to convert your computer into a media server that pulls a video stream from your IP camera and changes it to WebRTC, making the video playable on most Web Browsers such as Google Chrome and others.<\/span><\/p>\n<p><span><img decoding=\"async\" alt=\"IP camera to WebSite via WebRTC\" data-id=\"19220\" width=\"469\" data-init-width=\"966\" height=\"130\" data-init-height=\"268\" title=\"IP camera to WebSite via WebRTC\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/IP-camera-to-WebSite-via-WebRTC.png\" data-width=\"469\" data-height=\"130\" style=\"\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">I&#8217;ve tested this type of technology by using a Samsung IP camera &nbsp;and the <a href=\"http:\/\/umediaserver.net\/\" style=\"outline: none;\" target=\"_blank\" rel=\"noopener noreferrer\">Unreal Media Server<\/a> software to stream video to my blog and other websites.<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">Using WebRTC technology with IP cameras&nbsp;<\/h2>\n<p style=\"text-align: justify; cursor: text;\">Sometimes watch live video from your IP camera is a little bit complicated because it&#8217;s necessary to use a compatible web browser and install plugins or install compatible software provided by the camera manufacturer.<\/p>\n<p><span data-preserver-spaces=\"true\">Fortunately, the WebRTC technology minimizes this problem using standard<\/span><strong><span data-preserver-spaces=\"true\">&nbsp;real-time communication<\/span><\/strong><span data-preserver-spaces=\"true\">&nbsp;capabilities to stream video, voice, and data.<\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">You just need to use your browser to play the video from your IP camera.&nbsp;<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">From RTSP to WebRTC<\/h2>\n<p><span data-preserver-spaces=\"true\">Professional IP cameras use the&nbsp;<\/span><a href=\"https:\/\/learncctv.com\/what-is-rtsp-protocol-for-ip-cameras\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener noreferrer\"><span data-preserver-spaces=\"true\">RTSP protocol&nbsp;<\/span><\/a><span data-preserver-spaces=\"true\">to stream video to different platforms. You can use a media server to convert the RTSP to WebRTC.<\/span><\/p>\n<p><span><img decoding=\"async\" alt=\"IP camera to Media Server to WebRTC to WebBrowsers\" data-id=\"19232\" width=\"719\" data-init-width=\"1280\" height=\"250\" data-init-height=\"444\" title=\"IP camera to Media Server to WebRTC to WebBrowsers\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/IP-camera-to-Media-Server-to-WebRTC-to-WebBrowsers.png\" data-width=\"719\" data-height=\"250\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">You can use this type of setup to stream the video from your IP camera to a web browser on your local network or a remote website on the Internet.<\/p>\n<p style=\"text-align: justify; cursor: text;\">There&#8217;s an extra step to send the video to the Internet, but that&#8217;s not complicated.<\/p>\n<p style=\"text-align: justify; cursor: text;\">If you have the WebRTC media server working in your local network, the next step is to configure your router for port forwarding, which means the router must accept a request from the Internet to come into your local network.<\/p>\n<p><span><img decoding=\"async\" alt=\"IP camera RTSP to WebRTC to Website\" data-id=\"19242\" width=\"719\" data-init-width=\"1427\" height=\"245\" data-init-height=\"485\" title=\"IP camera RTSP to WebRTC to Website\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/IP-camera-RTSP-to-WebRTC-to-Website-1.png\" data-width=\"719\" data-height=\"245\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">And that&#8217;s the flow. The IP camera sends video to the media server (free software), which converts from RTSP to WebRTC and sends the video stream to the Internet passing through the router. Don&#8217;t worry; you will learn how to do that in while&#8230;<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">WebRTC free software&nbsp;<\/h2>\n<p style=\"text-align: justify; cursor: text;\">It&#8217;s time to see the step-by-step on how to use software to work with the WebRTC technology, and the best part is that you can do that without expending a dime.<\/p>\n<p style=\"\">1. Download free Unreal Media Server<\/p>\n<p><span><a href=\"http:\/\/umediaserver.net\/umediaserver\/download.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" alt=\"Download button\" data-id=\"19256\" width=\"305\" data-init-width=\"400\" height=\"105\" data-init-height=\"138\" title=\"Download button\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Download-button-1.png\" data-width=\"305\" data-height=\"105\" style=\"\" data-link-wrap=\"true\"><\/a><\/span><\/p>\n<p style=\"\">2. Install the software<\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server Installation 01\" data-id=\"19259\" width=\"352\" data-init-width=\"510\" height=\"291\" data-init-height=\"421\" title=\"Unteal Media Server Installation 01\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Installation-01.jpg\" data-width=\"352\" data-height=\"291\"><\/span><span><img decoding=\"async\" alt=\"Unteal Media Server Installation 02\" data-id=\"19260\" width=\"352\" data-init-width=\"505\" height=\"292\" data-init-height=\"418\" title=\"Unteal Media Server Installation 02\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Installation-02.jpg\" data-width=\"352\" data-height=\"292\"><\/span><span><img decoding=\"async\" alt=\"Unteal Media Server Installation 03\" data-id=\"19261\" width=\"352\" data-init-width=\"505\" height=\"290\" data-init-height=\"416\" title=\"Unteal Media Server Installation 03\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Installation-03.jpg\" data-width=\"352\" data-height=\"290\"><\/span><span><img decoding=\"async\" alt=\"Unteal Media Server Installation 04\" data-id=\"19262\" width=\"352\" data-init-width=\"509\" height=\"290\" data-init-height=\"419\" title=\"Unteal Media Server Installation 04\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Installation-04.jpg\" data-width=\"352\" data-height=\"290\"><\/span><span><img decoding=\"async\" alt=\"Unteal Media Server Installation 05\" data-id=\"19264\" width=\"352\" data-init-width=\"503\" height=\"287\" data-init-height=\"410\" title=\"Unteal Media Server Installation 05\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Installation-05.jpg\" data-width=\"352\" data-height=\"287\"><\/span><span><img decoding=\"async\" alt=\"Unteal Media Server Installation 06\" data-id=\"19265\" width=\"352\" data-init-width=\"506\" height=\"286\" data-init-height=\"411\" title=\"Unteal Media Server Installation 06\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Installation-06.jpg\" data-width=\"352\" data-height=\"286\"><\/span><\/p>\n<p style=\"\">3. Create a rebroadcast. Click the &#8220;<em>Rebroacast live RTM\/RTSP\/WebRTC\/MPEG-TS\/HSL.MMS stream<\/em>&#8220;<\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server New Live Broadcast\" data-id=\"19301\" width=\"466\" data-init-width=\"466\" height=\"157\" data-init-height=\"157\" title=\"Unteal Media Server New Live Broadcast\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-New-Live-Broadcast.jpg\" data-width=\"466\" data-height=\"157\"><\/span><span><img decoding=\"async\" alt=\"Unteal Media Server New Broadcast Rebroadcast\" data-id=\"19250\" width=\"422\" data-init-width=\"460\" height=\"310\" data-init-height=\"338\" title=\"Unteal Media Server New Broadcast Rebroadcast\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-New-Broadcast-Rebroadcast-1.png\" data-width=\"422\" data-height=\"310\" style=\"\"><\/span><\/p>\n<p style=\"cursor: text;\">4. Enter the IP RTSP URL, Username and Password and specify an alias (name) for this broadcast, like &#8220;<em>Samsung<\/em>&#8221; and then Click the &#8220;OK&#8221; button.<\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server New Broadcast Rebroadcast Samsung profile 2\" data-id=\"19252\" width=\"422\" data-init-width=\"422\" height=\"256\" data-init-height=\"256\" title=\"Unteal Media Server New Broadcast Rebroadcast Samsung profile 2\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-New-Broadcast-Rebroadcast-Samsung-profile-2.png\" data-width=\"422\" data-height=\"256\"><\/span><\/p>\n<p style=\"text-align: justify;\"><span data-preserver-spaces=\"true\">5. Copy the code to play the video. Open the Unreal Media&nbsp;<\/span><a href=\"http:\/\/www.umediaserver.net\/umediaserver\/demohtml5WebRTCplayer.html\" target=\"_blank\" style=\"outline: none;\" rel=\"noopener noreferrer\"><span data-preserver-spaces=\"true\">WebRTC demo player webpage<\/span><\/a><span data-preserver-spaces=\"true\">. Click CTRL+S and save this webpage as HTML only. Open that HTML page in Notepad or other editor and navigate to line 44. Replace &#8220;<\/span><em><span data-preserver-spaces=\"true\">104.194.11.25<\/span><\/em><span data-preserver-spaces=\"true\">&#8221; with&nbsp;<\/span><strong><span data-preserver-spaces=\"true\">your computer IP address<\/span><\/strong><span data-preserver-spaces=\"true\">, &#8220;<\/span><em><span data-preserver-spaces=\"true\">livedemocam<\/span><\/em><span data-preserver-spaces=\"true\">&#8221; with the a<\/span><strong><span data-preserver-spaces=\"true\">lias you used&nbsp;<\/span><\/strong><span data-preserver-spaces=\"true\">(i.e., &#8220;<\/span><em><span data-preserver-spaces=\"true\">Samsung<\/span><\/em><span data-preserver-spaces=\"true\">&#8220;) and port 80 with&nbsp;<\/span><strong><span data-preserver-spaces=\"true\">5119<\/span><\/strong><span data-preserver-spaces=\"true\">. Save that HTML page. Open that webpage in a web browser. You should see the live video playing.<\/span><\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server HTML code\" data-id=\"19270\" width=\"719\" data-init-width=\"978\" height=\"262\" data-init-height=\"356\" title=\"Unteal Media Server HTML code\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-HTML-code.png\" data-width=\"719\" data-height=\"262\" style=\"\"><\/span><\/p>\n<p>( click to enlarge )<\/p>\n<p style=\"text-align: justify; cursor: text;\">And it&#8217;s done.<\/p>\n<p><span data-preserver-spaces=\"true\">Save this file with the&nbsp;<\/span><strong><span data-preserver-spaces=\"true\">.html extension<\/span><\/strong><span data-preserver-spaces=\"true\">&nbsp;so you can open it in a web browser.<\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">Now you need to test it out and then move to the next step to see on a website.<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">Test the WebRTC stream on your network<\/h2>\n<p style=\"text-align: justify; cursor: text;\">Now, you are ready to test the stream of your IP camera via WebRTC.<\/p>\n<p style=\"text-align: justify; cursor: text;\">The diagram below shows how it works. The media server is ready to stream video as soon as the laptop (client) runs the .html file created in the previous step.<\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server Test WebRTC in the local network\" data-id=\"19319\" width=\"719\" data-init-width=\"911\" height=\"246\" data-init-height=\"312\" title=\"Unteal Media Server Test WebRTC in the local network\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Test-WebRTC-in-the-local-network-2.png\" data-width=\"719\" data-height=\"246\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">The web browser in the laptop requests a connection to the media server on the port <strong>5119 <\/strong>for the camera with the alias &#8220;<strong><em>Samsung<\/em><\/strong>&#8220;.<\/p>\n<p style=\"text-align: justify; cursor: text;\">&nbsp;The picture below shows the image I got on my web browser. Pretty cool, huh?<\/p>\n<p><span><img decoding=\"async\" alt=\"WebRTC Video pulled from the Unteal Media Server\" data-id=\"19283\" width=\"719\" data-init-width=\"880\" height=\"447\" data-init-height=\"547\" title=\"WebRTC Video pulled from the Unteal Media Server\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/WebRTC-Video-pulled-from-the-Unteal-Media-Server.jpg\" data-width=\"719\" data-height=\"447\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">Now I know that&#8217;s working locally, and the next step it to change the file to work with the router&#8217;s external IP address. Let&#8217;s see how to do that.<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">Test the WebRTC stream via the Internet<\/h2>\n<p style=\"text-align: justify; cursor: text;\">OK, now it&#8217;s time to stream the video from the IP camera to the Internet.<\/p>\n<p style=\"text-align: justify; cursor: text;\">This process can be done with 3 simple steps.<\/p>\n<ol>\n<li style=\"text-align: justify; cursor: text;\">Edit the .html file to use the external IP;<\/li>\n<li style=\"text-align: justify; cursor: text;\">Create new rules on the Windows firewall;<\/li>\n<li style=\"text-align: justify; cursor: text;\">Configure your router for port forwarding.<\/li>\n<\/ol>\n<p style=\"text-align: justify; cursor: text;\">Don&#8217;t worry; this is not rocket science.<\/p>\n<h3 style=\"text-align: justify; cursor: text;\">Edit the .html file<\/h3>\n<p style=\"text-align: justify; cursor: text;\">Just find out what&#8217;s the router IP is and use it on the .html file.<\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server code for external access\" data-id=\"19293\" width=\"719\" data-init-width=\"978\" height=\"263\" data-init-height=\"358\" title=\"Unteal Media Server code for external access\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-code-for-external-access.png\" data-width=\"719\" data-height=\"263\" style=\"\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">You know how to find the router external IP address, right?<\/p>\n<p style=\"text-align: justify; cursor: text;\">This information is available in the router, or you can use the <a href=\"https:\/\/www.ipchicken.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">IPChicken<\/a> website to show what the IP you are using at a given time.<\/p>\n<h3 style=\"text-align: justify; cursor: text;\">Open the ports on the Windows firewall<\/h3>\n<p style=\"text-align: justify; cursor: text;\">Launch the Windows Firewall and create new rules for ports 5119 and 5135.<\/p>\n<p style=\"text-align: justify; cursor: text;\">See the picture below.<\/p>\n<p><span><img decoding=\"async\" alt=\"Unteal Media Server Windows Firewall\" data-id=\"19297\" width=\"719\" data-init-width=\"1266\" height=\"226\" data-init-height=\"398\" title=\"Unteal Media Server Windows Firewall\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Unteal-Media-Server-Windows-Firewall.jpg\" data-width=\"719\" data-height=\"226\" style=\"\"><\/span><\/p>\n<p>( click to enlarge )<\/p>\n<h3 style=\"text-align: justify; cursor: text;\">Set up port forwarding in the router<\/h3>\n<p style=\"text-align: justify; cursor: text;\">Log in to your router and create rules to forward the traffic to the ports 5119 and 5135. The requests must be redirected to the Media Server&#8217;s IP.<\/p>\n<p><span><img decoding=\"async\" alt=\"Router WebRTC Rules\" data-id=\"19303\" width=\"719\" data-init-width=\"1053\" height=\"385\" data-init-height=\"563\" title=\"Router WebRTC Rules\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Router-WebRTC-Rules.jpg\" data-width=\"719\" data-height=\"385\" style=\"\"><\/span><\/p>\n<p>( click to enlarge )<\/p>\n<p style=\"text-align: justify; cursor: text;\">And it&#8217;s done.<\/p>\n<p style=\"text-align: justify; cursor: text;\">Depending on your router&#8217;s model, the port forwarding menu should be in a different place, but the idea is to create the rules, as shown in the picture.<\/p>\n<p style=\"text-align: justify; cursor: text;\">Now, get a second computer, a laptop or a mobile phone that is connected to the Internet and open the .html file in a web browser.&nbsp;<\/p>\n<p style=\"text-align: justify; cursor: text;\">You should see the live video from your camera via the Internet.<\/p>\n<p><span><img decoding=\"async\" alt=\"WebRTC Video pulled from the Unteal Media Server via the Internet\" data-id=\"19308\" width=\"719\" data-init-width=\"858\" height=\"455\" data-init-height=\"543\" title=\"WebRTC Video pulled from the Unteal Media Server via the Internet\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/WebRTC-Video-pulled-from-the-Unteal-Media-Server-via-the-Internet.jpg\" data-width=\"719\" data-height=\"455\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">Now, let&#8217;s see how to stream an IP camera to a website.<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">How to stream RTSP IP Camera to a website via WebRTC or Websockets<\/h2>\n<p style=\"text-align: justify; cursor: text;\">And now for the last step. You can have the .html file on your website.<\/p>\n<p style=\"text-align: justify; cursor: text;\">Just upload the file you&#8217;ve created before to your site or blog and use the URL to load the video from your IP camera as shown in the picture below.<\/p>\n<p><span><img decoding=\"async\" alt=\"Learn CCTV Blog with live camera\" data-id=\"19313\" width=\"719\" data-init-width=\"988\" height=\"682\" data-init-height=\"936\" title=\"Learn CCTV Blog with live camera\" loading=\"lazy\" src=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg\" data-width=\"719\" data-height=\"682\"><\/span><\/p>\n<p style=\"text-align: justify; cursor: text;\">You can place the HTML code on different parts of your website and tweak it to looks better, as I just did on my blog.<\/p>\n<h2 style=\"text-align: justify; cursor: text;\">Conclusion<\/h2>\n<p style=\"text-align: justify; cursor: text;\">Now you know how to stream an IP camera to a website via WebRTC.<\/p>\n<p style=\"text-align: justify; cursor: text;\">In this article, I show basic examples of using this technology, but there&#8217;s much more &#8220;under the hood&#8221;.<\/p>\n<p style=\"text-align: justify; cursor: text;\">I recommend you to download the media server and play with all the features.<\/p>\n<p style=\"text-align: justify; cursor: text;\">I hope this article can help you; please share it with your friends.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, I show how to stream an IP camera to a website via WebRTC. You can use&nbsp;free software&nbsp;to convert your computer into a media server that pulls a video stream from your IP camera and changes it to WebRTC, making the video playable on most Web Browsers such as Google Chrome and others. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":19313,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[40],"tags":[],"class_list":["post-19200","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ip-cameras"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to stream an IP Camera to a website via WebRTC (Free software) - Learn CCTV.com<\/title>\n<meta name=\"description\" content=\"In this article, I show how to stream an IP camera to a website via WebRTC. You can use free software to convert RTSP to WebRTC,\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to stream an IP Camera to a website via WebRTC (Free software) - Learn CCTV.com\" \/>\n<meta property=\"og:description\" content=\"In this article, I show how to stream an IP camera to a website via WebRTC. You can use free software to convert RTSP to WebRTC,\" \/>\n<meta property=\"og:url\" content=\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/\" \/>\n<meta property=\"og:site_name\" content=\"Learn CCTV.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/learncctvnow\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/learncctvnow\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-04T17:46:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-09-05T12:31:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"988\" \/>\n\t<meta property=\"og:image:height\" content=\"936\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Claudemir Martins\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Claudemir Martins\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/\",\"url\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/\",\"name\":\"How to stream an IP Camera to a website via WebRTC (Free software) - Learn CCTV.com\",\"isPartOf\":{\"@id\":\"https:\/\/learncctv.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg\",\"datePublished\":\"2020-09-04T17:46:15+00:00\",\"dateModified\":\"2020-09-05T12:31:25+00:00\",\"author\":{\"@id\":\"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a\"},\"description\":\"In this article, I show how to stream an IP camera to a website via WebRTC. You can use free software to convert RTSP to WebRTC,\",\"breadcrumb\":{\"@id\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#primaryimage\",\"url\":\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg\",\"contentUrl\":\"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg\",\"width\":988,\"height\":936,\"caption\":\"Learn CCTV Blog with live camera\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/learncctv.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to stream an IP Camera to a website via WebRTC (Free software)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/learncctv.com\/#website\",\"url\":\"https:\/\/learncctv.com\/\",\"name\":\"Learn CCTV.com\",\"description\":\"The place where you can learn CCTV\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/learncctv.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a\",\"name\":\"Claudemir Martins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/learncctv.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g\",\"caption\":\"Claudemir Martins\"},\"description\":\"Claudemir Martins is a former Samsung Engineer with 19+ years of experience in the surveillance industry. He has been traveling around 17 different countries to teach people how to design, and install CCTV systems. He is currently working for Axis Communications as a Technical Services Engineer and living in the United States with his family.\",\"sameAs\":[\"https:\/\/learncctv.com\",\"https:\/\/www.facebook.com\/learncctvnow\"],\"url\":\"https:\/\/learncctv.com\/author\/claudemir-martinsgmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to stream an IP Camera to a website via WebRTC (Free software) - Learn CCTV.com","description":"In this article, I show how to stream an IP camera to a website via WebRTC. You can use free software to convert RTSP to WebRTC,","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/","og_locale":"en_US","og_type":"article","og_title":"How to stream an IP Camera to a website via WebRTC (Free software) - Learn CCTV.com","og_description":"In this article, I show how to stream an IP camera to a website via WebRTC. You can use free software to convert RTSP to WebRTC,","og_url":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/","og_site_name":"Learn CCTV.com","article_publisher":"https:\/\/www.facebook.com\/learncctvnow","article_author":"https:\/\/www.facebook.com\/learncctvnow","article_published_time":"2020-09-04T17:46:15+00:00","article_modified_time":"2020-09-05T12:31:25+00:00","og_image":[{"width":988,"height":936,"url":"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg","type":"image\/jpeg"}],"author":"Claudemir Martins","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Claudemir Martins","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/","url":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/","name":"How to stream an IP Camera to a website via WebRTC (Free software) - Learn CCTV.com","isPartOf":{"@id":"https:\/\/learncctv.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#primaryimage"},"image":{"@id":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#primaryimage"},"thumbnailUrl":"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg","datePublished":"2020-09-04T17:46:15+00:00","dateModified":"2020-09-05T12:31:25+00:00","author":{"@id":"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a"},"description":"In this article, I show how to stream an IP camera to a website via WebRTC. You can use free software to convert RTSP to WebRTC,","breadcrumb":{"@id":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/learncctv.com\/ip-camera-stream-to-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#primaryimage","url":"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg","contentUrl":"https:\/\/learncctv.com\/wp-content\/uploads\/2020\/09\/Learn-CCTV-Blog-with-live-camera.jpg","width":988,"height":936,"caption":"Learn CCTV Blog with live camera"},{"@type":"BreadcrumbList","@id":"https:\/\/learncctv.com\/ip-camera-stream-to-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/learncctv.com\/"},{"@type":"ListItem","position":2,"name":"How to stream an IP Camera to a website via WebRTC (Free software)"}]},{"@type":"WebSite","@id":"https:\/\/learncctv.com\/#website","url":"https:\/\/learncctv.com\/","name":"Learn CCTV.com","description":"The place where you can learn CCTV","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/learncctv.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/learncctv.com\/#\/schema\/person\/2f21941fc3f450f670146e9ed189e38a","name":"Claudemir Martins","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/learncctv.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/35af46e18600905d33ae99019d429631?s=96&d=mm&r=g","caption":"Claudemir Martins"},"description":"Claudemir Martins is a former Samsung Engineer with 19+ years of experience in the surveillance industry. He has been traveling around 17 different countries to teach people how to design, and install CCTV systems. He is currently working for Axis Communications as a Technical Services Engineer and living in the United States with his family.","sameAs":["https:\/\/learncctv.com","https:\/\/www.facebook.com\/learncctvnow"],"url":"https:\/\/learncctv.com\/author\/claudemir-martinsgmail-com\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts\/19200"}],"collection":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/comments?post=19200"}],"version-history":[{"count":97,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts\/19200\/revisions"}],"predecessor-version":[{"id":19332,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/posts\/19200\/revisions\/19332"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/media\/19313"}],"wp:attachment":[{"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/media?parent=19200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/categories?post=19200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/learncctv.com\/wp-json\/wp\/v2\/tags?post=19200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}