{"id":11648,"date":"2019-01-23T19:34:08","date_gmt":"2019-01-23T18:34:08","guid":{"rendered":"http:\/\/www.wjst.de\/blog\/?p=11648"},"modified":"2019-02-26T12:14:45","modified_gmt":"2019-02-26T11:14:45","slug":"getting-started-with-webrtc","status":"publish","type":"post","link":"https:\/\/www.wjst.de\/blog\/sciencesurf\/2019\/01\/getting-started-with-webrtc\/","title":{"rendered":"Getting started with webRTC"},"content":{"rendered":"<p>While the protocol is already around for some time, webRTC isn&#8217;t been used so much although many browser are supporting it.<\/p>\n<p>The basic webRTC samples of peer connection works well within the same browser window (<a href=\"https:\/\/webrtc.github.io\/samples\/src\/content\/peerconnection\/pc1\/\">showcase<\/a>) while I need to connect sound + audio between two browser windows in a local network. After trying out several frameworks, I found the most easiest one <a href=\"http:\/\/easyrtc.com\">easyRTCrtc<\/a>. It works out of the box<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\ngit clone https:\/\/github.com\/priologic\/easyrtc.git\r\ncd \/Users\/wjst\/Desktop\/easyrtc\r\ncd \/Users\/wjst\/Desktop\/easyrtc\/server_example\r\nnpm install express --save\r\nnode server.js\r\n<\/pre>\n<p>while pointing the browser to <a href=\"http:\/\/localhost:8080\">localhost:8080<\/a>. Three weeks later, I find the sources poorly documented, connections are frequently broken, while Chrome explains it is moving soon to &#8220;Plan B&#8221;.<\/p>\n<p><a href=\"https:\/\/bloggeek.me\/choosing-webrtc-open-source-media-server\/\">I could have been warned<\/a>.<\/p>\n<p><a href=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/01\/screen-21.png\" data-rel=\"key-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-11876\" src=\"https:\/\/www.wjst.de\/blog\/wp-content\/uploads\/2019\/01\/screen-21.png\" alt=\"\" width=\"441\" height=\"123\" \/><\/a><\/p>\n<p>Will test now <a href=\"https:\/\/github.com\/ant-media\/Ant-Media-Server\/releases\/tag\/release-1.6.1\">Ant Media Server<\/a>.<\/p>\n\n<p>&nbsp;<\/p>\n<div class=\"bottom-note\">\n  <span class=\"mod1\">CC-BY-NC Science Surf , accessed 13.04.2026<\/span>\n <\/div>","protected":false},"excerpt":{"rendered":"<p>While the protocol is already around for some time, webRTC isn&#8217;t been used so much although many browser are supporting it. The basic webRTC samples of peer connection works well within the same browser window (showcase) while I need to connect sound + audio between two browser windows in a local network. After trying out &hellip; <a href=\"https:\/\/www.wjst.de\/blog\/sciencesurf\/2019\/01\/getting-started-with-webrtc\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Getting started with webRTC<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[3097],"class_list":["post-11648","post","type-post","status-publish","format-standard","hentry","category-computer-software","tag-webrtc"],"_links":{"self":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/11648","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/comments?post=11648"}],"version-history":[{"count":6,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/11648\/revisions"}],"predecessor-version":[{"id":12119,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/posts\/11648\/revisions\/12119"}],"wp:attachment":[{"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/media?parent=11648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/categories?post=11648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wjst.de\/blog\/wp-json\/wp\/v2\/tags?post=11648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}