- Rasbian Jessie
- 8G Memory
- Ehternet plug to setup
SSH into the pi, then:
$ raspi-config
import { useEffect, useState } from 'react' | |
import { | |
RTCPublisher, | |
RTCSubscriber, | |
setLogLevel, | |
getRecordedLogs | |
} from 'red5pro-webrtc-sdk' | |
import { ReactComponent as LoadingIcon } from 'assets/img/svg/loading.svg' | |
import { wait } from 'utils' | |
import DialogLayout from 'layouts/DialogLayout/DialogLayout' |
async function getTokenId (account, date) { | |
try { | |
let response = await fetch(`https://staging.api.tzkt.io/v1/accounts/${account}/operations?type=transaction`, { method: 'GET' }) | |
let json = await response.json() | |
const filter = json.filter(t => { | |
if (t.type === 'transaction') { | |
if (t.timestamp.match(date)) { | |
if (t.parameter && t.parameter.entrypoint === 'mint') { | |
return t | |
} |
package com.infrared5.red5pro.live; | |
import java.lang.reflect.InvocationTargetException; | |
import java.lang.reflect.Method; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; |
package com.infrared5.red5pro.live; | |
import java.util.ArrayList; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; | |
import org.red5.server.adapter.MultiThreadedApplicationAdapter; | |
import org.red5.server.api.IConnection; | |
import org.red5.server.api.Red5; |
// 1. Locate the WebRTC configuration on the webpage | |
// 2. Add the `iceServers` configuration property with the target STUN. | |
var rtcConfig = { | |
host: host, | |
streamName: streamName, | |
app: 'streammanager', | |
protocol: wsProtocol, | |
port: wsPort, | |
// Add this and replace the `urls` value with your target STUN server address. |
Explanation as to why need new driver: [https://forums.adafruit.com/viewtopic.php?f=19&t
http://frederickvandenbosch.be/?p=2385
WiFi
module.exports = "hello, browser!" |