This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Offer (Janus) | |
------------- | |
v=0 | |
o=- 1498756533614220 1498756533614220 IN IP4 192.168.1.80 | |
s=Mountpoint 1 | |
t=0 0 | |
a=group:BUNDLE audio video | |
a=msid-semantic: WMS janus | |
m=audio 9 RTP/SAVPF 111 | |
c=IN IP4 192.168.1.80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- This is the Astricon Dangerous Demo application logic built in Lua, | |
-- and conceived to be used in conjunction with the janus_lua.c plugin. | |
-- It only uses data channels, and expects commands to control the ARI. | |
-- | |
-- Note: this example depends on lua-json to do JSON processing | |
-- (http://luaforge.net/projects/luajson/) and on lua-http for HTTP | |
-- requests (https://daurnimator.github.io/lua-http/) | |
json = require('json') | |
-- Example details |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/html/janus.js b/html/janus.js | |
index e7bed83..ad8584a 100644 | |
--- a/html/janus.js | |
+++ b/html/janus.js | |
@@ -393,6 +393,13 @@ function Janus(gatewayCallbacks) { | |
// Public methods | |
this.getServer = function() { return server; }; | |
this.isConnected = function() { return connected; }; | |
+ this.reconnect = function(callbacks) { | |
+ callbacks = callbacks || {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setRemoteDescription | |
-------------------- | |
type: offer, sdp: v=0 | |
o=- 1545062535851399 1 IN IP4 192.168.1.104 | |
s=VideoRoom 1234 | |
t=0 0 | |
a=group:BUNDLE 0 1 | |
a=ice-options:trickle | |
a=fingerprint:sha-256 D2:B9:31:8F:DF:24:D8:0E:ED:D2:EF:25:9E:AF:6F:B8:34:AE:53:9C:E6:F3:8F:F2:64:15:FA:E8:7F:53:2D:38 | |
a=msid-semantic: WMS janus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const yaml = require('yaml'); | |
// Read lifeograph diary | |
var lifeograph = fs.readFileSync('activities.diary.txt', 'utf8'), rednotebook = {}; | |
var lines = lifeograph.split('\n'); | |
// Iterate on lifeograph diary lines | |
var item = null, content = [], newDate = 0; | |
for(var i in lines) { |
OlderNewer