{"id":1871,"date":"2024-01-12T18:58:25","date_gmt":"2024-01-12T23:58:25","guid":{"rendered":"https:\/\/www.unliterate.net\/?p=1871"},"modified":"2024-01-12T19:04:47","modified_gmt":"2024-01-13T00:04:47","slug":"today-i-learned-rtsp-and-d-link-dcs-8526lh","status":"publish","type":"post","link":"https:\/\/www.unliterate.net\/index.php\/2024\/01\/12\/today-i-learned-rtsp-and-d-link-dcs-8526lh\/","title":{"rendered":"Today I Learned: RTSP and D-Link DCS-8526LH"},"content":{"rendered":"\n<p>I have a D-Link <a href=\"https:\/\/shop.us.dlink.com\/products\/d-link-wifi-camera-indoor-full-hd-pan-tilt\" target=\"_blank\" rel=\"noreferrer noopener\">DCS-8526LH<\/a> Camera in my living room pointed to my front door. I originally purchased it a long, long time ago to keep an eye on kids during school while at home during COVID. It&#8217;s aged well, and it&#8217;s a nice thing. It lets me know if someone&#8217;s coming into my front door whether I want to know about it or not, and that&#8217;s all I need to know.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>I learned to not like the app that&#8217;s provided by D-Link except for the configuration aspect of things. The camera did not come with a Web URL to work with it, but did come with RTSP. The problem was that there wasn&#8217;t much documentation about how to use it. I knew it was port 554 and what it&#8217;s primary purpose was, but that&#8217;s pretty much it.<\/p>\n\n\n\n<p>First to learn was the credentials. Username, by default, was <em>admin<\/em>.<\/p>\n\n\n\n<p>Second to learn was the password, and this was not generically password. It was also not &#8220;admin&#8221;, nor nothing, nor &#8220;nothing&#8221;, or blank. After searching high and low I learned that the password was a 6-digit pin that was printed on the bottom of the physical device. One picture later and a considerable amount of zooming in I had my credentials.<\/p>\n\n\n\n<p>Finally I had to learn the actual RTSP URL. This had <em>so many possibilities<\/em> and it seems that every camera manufacturer has their own endpoints: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rtsp:\/\/x.x.x.x\/axis-media\/media.amp\nrtsp:\/\/x.x.x.x\/cam\/realmonitor?channel=&lt;channelNo&gt;&amp;subtype=&lt;typeNo&gt;\nrtsp:\/\/x.x.x.x\/LiveChannel\/Channel\/media.smp\nrtsp:\/\/x.x.x.x\/Streaming\/Channels\/&lt;id&gt;\n<\/code><\/pre>\n\n\n\n<p>I finally came across a forum that provided a series of D-Link urls and tried a couple of those:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rtsp:\/\/x.x.x.x\/onvif_camera\/profile.0\nrtsp:\/\/x.x.x.x\/onvif_camera\/profile.1\nrtsp:\/\/x.x.x.x\/live\/profile.0\nrtsp:\/\/x.x.x.x\/onvif\/profile.0\n<\/code><\/pre>\n\n\n\n<p>After none of them worked I deferred to an App I used a long time called <a href=\"https:\/\/sourceforge.net\/projects\/onvifdm\/\" target=\"_blank\" rel=\"noreferrer noopener\">ODM: Device Manager for ONVIF-based Network video devices<\/a>. Once I entered in the credentials it was able to find the RTSP stream with no issue. Come to find out, specifically for my DCS-8526LH the URL would be <a href=\"rtsp:\/\/admin:740856@192.168.1.248\/live\/profile.0\" target=\"_blank\" rel=\"noreferrer noopener\">rtsp:\/\/admin:740856@192.168.1.248\/live\/profile.0<\/a>. <\/p>\n\n\n\n<p>This URL, for me, was easily plugged into <a href=\"https:\/\/www.videolan.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">VLC<\/a> under Media -&gt; Open Network Stream. Volume down, and now I can watch my living room on my computer while charging my phone with ease.<\/p>\n\n\n\n<p>Once you come over you can tune in to my camera directly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a D-Link DCS-8526LH Camera in my living room pointed to my front door. I originally purchased it a long, long time ago to keep an eye on kids during school while at home during COVID. It&#8217;s aged well, and it&#8217;s a nice thing. It lets me know if someone&#8217;s coming into my front [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-1871","post","type-post","status-publish","format-standard","hentry","category-geek-instructions"],"_links":{"self":[{"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/posts\/1871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/comments?post=1871"}],"version-history":[{"count":4,"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/posts\/1871\/revisions"}],"predecessor-version":[{"id":1875,"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/posts\/1871\/revisions\/1875"}],"wp:attachment":[{"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/media?parent=1871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/categories?post=1871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.unliterate.net\/index.php\/wp-json\/wp\/v2\/tags?post=1871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}