{"id":50000,"date":"2020-08-17T03:01:30","date_gmt":"2020-08-16T17:01:30","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=50000"},"modified":"2020-08-16T20:03:37","modified_gmt":"2020-08-16T10:03:37","slug":"webrtc-api-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/webrtc-api-primer-tutorial\/","title":{"rendered":"WebRTC API Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/WebRTC\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"WebRTC API Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/WebRTC\/webrtcjourney.jpg\" title=\"WebRTC Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">WebRTC API Primer Tutorial<\/p><\/div>\n<p>We were on the lookout for <a target=_blank title='WebRTC information from Wikipedia, thanks' href='https:\/\/en.wikipedia.org\/wiki\/WebRTC'>WebRTC<\/a> sample web applications today, and came upon the great GitHub <a target=_blank title='WebRTC sample' href='https:\/\/webrtc.github.io\/samples\/'>WebRTC samples<\/a> &#8230; thanks &#8230;<\/p>\n<blockquote cite='https:\/\/webrtc.github.io\/samples\/'><p>\nThis is a collection of small samples demonstrating various parts of the WebRTC APIs. The code for all samples are available in the GitHub repository.\n<\/p><\/blockquote>\n<p>We&#8217;re new to WebRTC and\/or its API, with all its live streaming possibilities, and so decided to ease ourselves into this interesting topic by trying to add an audio (stream) track capability (via a microphone access) onto the pre-existing code functionality for a video (stream) track (via camera to end up with a webcam) in <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=https:\/\/www.rjmprogramming.com.au\/WebRTC\/index.html-GETME\">our cloned<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/WebRTC\/index.html-GETME\">index.html<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/WebRTC\/\" title=\"Click picture\">live run<\/a> use of <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=https:\/\/www.rjmprogramming.com.au\/WebRTC\/js\/main.js-GETME\">the cloned<\/a> <a target=_blank href=\"https:\/\/www.rjmprogramming.com.au\/WebRTC\/js\/main.js-GETME\">main.js<\/a> external Javascript helping it out &#8230; to &#8230;<\/p>\n<p><iframe style=width:100%;height:1200px; src='https:\/\/www.rjmprogramming.com.au\/WebRTC\/'><\/iframe><\/p>\n<p>We hope this interests like it does me.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d50000' onclick='var dv=document.getElementById(\"d50000\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/webcam\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d50000' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We were on the lookout for WebRTC sample web applications today, and came upon the great GitHub WebRTC samples &#8230; thanks &#8230; This is a collection of small samples demonstrating various parts of the WebRTC APIs. The code for all &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/webrtc-api-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,12,14,37],"tags":[88,113,183,495,576,578,652,3387,781,997,3224,1319,1369,1413,3032,3386],"class_list":["post-50000","post","type-post","status-publish","format-standard","hentry","category-animation","category-elearning","category-event-driven-programming","category-tutorials","tag-api","tag-audio","tag-camera","tag-github","tag-html","tag-html5","tag-javascript","tag-live-stream","tag-microphone","tag-programming","tag-stream","tag-tutorial","tag-video","tag-webcam","tag-webrtc","tag-webrtc-api"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/50000"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=50000"}],"version-history":[{"count":5,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/50000\/revisions"}],"predecessor-version":[{"id":50005,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/50000\/revisions\/50005"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=50000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=50000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=50000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}