Skip to content

Instantly share code, notes, and snippets.

View EricDavies's full-sized avatar

Eric Davies EricDavies

View GitHub Profile
var selfEasyrtcid = "";
var connectTime;
function connect() {
easyrtc.setRoomOccupantListener(convertListToButtons);
easyrtc.easyApp("easyrtc.audioVideo", "selfVideo", ["callerVideo"], loginSuccess, loginFailure);
easyrtc.setOnHangup(function(easyrtcid, slot) {
easyrtc.updatePresence("chat", "");
});
}
var selfEasyrtcid = "";
function connect() {
easyrtc.setRoomOccupantListener(convertListToButtons);
easyrtc.connect("easyrtc.audioVideo", loginSuccess, loginFailure);
}
function clearConnectList() {
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<meta charset="UTF-8">
<title>Zoran test</title>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--skip-->
<title>EasyRTC Demo: Simple Video+Audio</title>
<link rel="stylesheet" type="text/css" href="/easyrtc/easyrtc.css" />
<!--hide-->
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<link rel="stylesheet" type="text/css" href="css/demo_audio_video_simple.css" />
@EricDavies
EricDavies / demo_audio_video.html
Created October 8, 2014 15:58
Demonstration of connecting/disconnecting working
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--skip-->
<title>EasyRTC Demo: Audio and Video</title>
<link rel="stylesheet" type="text/css" href="/easyrtc/easyrtc.css" />
<!--hide-->
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--skip-->
<title>EasyRTC Demo: Simple Video+Audio</title>
<link rel="stylesheet" type="text/css" href="/easyrtc/easyrtc.css" />
<!--hide-->
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<link rel="stylesheet" type="text/css" href="css/demo_audio_video_simple.css" />
@EricDavies
EricDavies / captureTest.html
Created March 20, 2015 23:07
test of Ians screencapture
<html>
<head> screen test </head>
<body>
My iframe<br>
<iframe width="900px" height="900px" src="https://dev-b.tawk.com/embed/eric2">iframe not supported </iframe><br>
end of my iframe
</html>
@EricDavies
EricDavies / demo_arun.html
Created May 12, 2015 15:59
javascript for disconnecting and reconnecting when using easyrtc.easyApp
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--skip-->
<title>EasyRTC Demo: Simple Video+Audio</title>
<link rel="stylesheet" type="text/css" href="/easyrtc/easyrtc.css" />
<!--hide-->
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<link rel="stylesheet" type="text/css" href="css/demo_audio_video_simple.css" />
@EricDavies
EricDavies / child.html
Created May 13, 2015 17:29
getting parent url
<html>
<head>
<title> child</title>
</head>
<script type="text/javascript">
function dumpit() {
var div = document.getElementById("dumpzone");
var parentUrl;
if (parent !== window){
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!--skip-->
<title>EasyRTC Demo: Data Channel File-sharing</title>
<link rel="stylesheet" type="text/css" href="css/landing.css" />
<link rel="stylesheet" type="text/css" href="/easyrtc/easyrtc.css" />
<!--hide-->
<!-- Prettify Code -->