Go to:
https://webrtc.github.io/samples/src/content/peerconnection/pc1/
Start the video and the call.
The RTCPeerConnections are under the variables pc1
and pc2
. In the console, run:
const stats1 = await pc1.getStats()
Go to:
https://webrtc.github.io/samples/src/content/peerconnection/pc1/
Start the video and the call.
The RTCPeerConnections are under the variables pc1
and pc2
. In the console, run:
const stats1 = await pc1.getStats()
https://www.w3.org/TR/webrtc/#getstats-example |
async function parseOptions (options) { | |
const parsedOptions = { | |
urls: { | |
index: 'https://nodejs.org/dist/index.json', | |
schedule: 'https://raw.githubusercontent.com/nodejs/Release/master/schedule.json' | |
} | |
} | |
if(options?.urls?.index) { | |
parsedOptions.urls.index = options.urls.index |
const { DateTime } = require('luxon') | |
const now = DateTime.now() | |
const currentYear = now.year | |
const lastMonth = now.minus({ months: 1 }) | |
const lastDayOfPreviousMonth = lastMonth.set({ day: lastMonth.daysInMonth }) | |
const dates = { | |
now: now.toISODate(), // make `now` usable with ISO date format | |
lastDayOfPreviousMonth: lastDayOfPreviousMonth.toISODate(), // gets the last day of the previous month |
name: Delete node_modules on merge | |
on: | |
push: | |
branches: | |
- [ $default-branch ] | |
jobs: | |
delete-modules: | |
runs-on: ubuntu-latest | |
steps: |
List of Issues:
You will need one user who is the Admin and will run the Local game, and all Users will connect to the Admin's network. Instructions for each user - Admin and User - are below.
async function replaceVariables (stringifiedTemplate, templateVariables, templateValues) { | |
// replace each template variable with the relevant variable | |
try { | |
// - replace name | |
if (stringifiedTemplate.includes(templateVariables.name)) { | |
const RegExNameBecauseReplaceAllDidntExistInJavaScriptUntilRecently = new RegExp(templateVariables.name, 'g') | |
stringifiedTemplate = stringifiedTemplate.replace(RegExNameBecauseReplaceAllDidntExistInJavaScriptUntilRecently, templateValues.name) | |
} |
const ghUserEvents = require('gh-user-events'); | |
var watches = 0; | |
var comments = 0; | |
var pushes = 0; | |
var prs = 0; | |
var createRepos = 0; | |
var deleteRepos = 0; | |
var reviews = 0; | |
var issues = 0; |
npm ls # list all modules in node_modules
npm ls --depth=0 # list all direct deps and devDeps
npm ls <module> # list all trees that include <module>
npm ls --prod # only show production modules + their deps
dependencies
property of package.json)npm ls --prod --depth=0 # only show direct prod deps