{"id":1414,"date":"2017-03-20T05:01:25","date_gmt":"2017-03-20T03:01:25","guid":{"rendered":"https:\/\/www.kurokesu.com\/main\/?p=1414"},"modified":"2017-03-19T11:26:13","modified_gmt":"2017-03-19T09:26:13","slug":"webrtc-video-streaming","status":"publish","type":"post","link":"https:\/\/www.kurokesu.com\/main\/2017\/03\/20\/webrtc-video-streaming\/","title":{"rendered":"WebRTC video streaming"},"content":{"rendered":"<p><a href=\"https:\/\/webrtc.org\/\">WebRTC<\/a> is a modern way to make web browser based real-time applications. And I recently found out that this awesome library supports Kurokesu C1 camera in 1080p resolution. It will take few minutes to test provided example scripts. Open <a href=\"https:\/\/github.com\/webrtc\/samples\">webrtc samples<\/a> in your browser and click &#8220;getUserMedia with resolution constraints&#8221; to get started.<\/p>\n<p><a href=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/1-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1418\" src=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/1-1.png\" alt=\"\" width=\"600\" height=\"395\" srcset=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/1-1.png 1239w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/1-1-300x198.png 300w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/1-1-768x506.png 768w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/1-1-1024x674.png 1024w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a>Click desired resolution button and browser will ask you to select video source.<\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1419 aligncenter\" src=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/2.png\" alt=\"\" width=\"600\" height=\"399\" srcset=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/2.png 1244w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/2-300x200.png 300w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/2-768x511.png 768w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/2-1024x682.png 1024w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a>Soon after you will see live video stream from selected video source. In our case <a href=\"http:\/\/www.kurokesu.com\/shop\/cameras\/CAMUSB1\">Kurokesu C1<\/a> USB camera.<\/p>\n<p><a href=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1415\" src=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3.png\" alt=\"\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3.png 1240w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3-300x200.png 300w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3-768x512.png 768w, https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3-1024x682.png 1024w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>WebRTC is a modern way to make web browser based real-time applications. And I recently found out that this awesome library supports Kurokesu C1 camera in 1080p resolution. It will take few minutes to test provided example scripts. Open webrtc samples in your browser and click &#8220;getUserMedia with resolution constraints&#8221; to get started. Click desired [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1415,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[157],"tags":[251,252,250,14,16,249],"class_list":["post-1414","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-real-time","tag-rtc","tag-stream","tag-usb-camera","tag-video","tag-webrtc"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/www.kurokesu.com\/main\/wp-content\/uploads\/2017\/03\/3.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6VSmB-mO","_links":{"self":[{"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/posts\/1414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/comments?post=1414"}],"version-history":[{"count":6,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/posts\/1414\/revisions"}],"predecessor-version":[{"id":1423,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/posts\/1414\/revisions\/1423"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/media\/1415"}],"wp:attachment":[{"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/media?parent=1414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/categories?post=1414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kurokesu.com\/main\/wp-json\/wp\/v2\/tags?post=1414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}