Copy of github.com/askrobots/network-computer (MIT): a desk you reach from anything. The original lives on GitHub.

2 downloads

Download zip
Clone
Clone with git
git clone https://gitstable.com/git/demo/network-computer.git
HTTPS
https://gitstable.com/git/demo/network-computer.git
SSH
ssh://git@gitstable.com:2222/demo/network-computer.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

GitStable demo README: say this is a copy and where the original is cde82c2 13 hours, 55 minutes ago History
mediamtx.yml · 1.9 KB · 74 lines
1# Live streams into the desk (nc-stream; MediaMTX runs as nc-streams).
2#
3# The one door from outside is SRT on UDP 8890, for publishing only, and only
4# with the passphrase in /etc/nc/streams.env (MTX_PATHDEFAULTS_SRTPUBLISHPASSPHRASE;
5# SRT also encrypts the stream with it). Everything else listens on this
6# computer only: watching (HLS, WebRTC, RTSP) is for the desk's own browser
7# and tools, the API and metrics for nc-stream. Any stream name works:
8# srt://<desk>:8890?streamid=publish:<name>&passphrase=<passphrase>
9logLevel: info
10logDestinations: [stdout]
11
12authMethod: internal
13authInternalUsers:
14 # anyone may try to publish; SRT turns them away without the passphrase,
15 # and SRT is the only protocol reachable from outside
16 - user: any
17 pass:
18 ips: []
19 permissions:
20 - action: publish
21 path:
22 # watching, recordings, the API: this computer only
23 - user: any
24 pass:
25 ips: ["127.0.0.1", "::1"]
26 permissions:
27 - action: read
28 path:
29 - action: playback
30 path:
31 - action: api
32 - action: metrics
33
34api: true
35apiAddress: 127.0.0.1:9997
36metrics: true
37metricsAddress: 127.0.0.1:9998
38pprof: false
39playback: true
40playbackAddress: 127.0.0.1:9996
41
42rtsp: true
43rtspTransports: [tcp]
44rtspAddress: 127.0.0.1:8554
45rtmp: false
46moq: false
47hls: true
48hlsAddress: 127.0.0.1:8888
49hlsAlwaysRemux: true
50hlsVariant: lowLatency
51hlsSegmentCount: 7
52hlsSegmentDuration: 1s
53hlsPartDuration: 200ms
54webrtc: true
55webrtcAddress: 127.0.0.1:8889
56webrtcLocalUDPAddress: 127.0.0.1:8189
57webrtcIPsFromInterfaces: false
58webrtcAdditionalHosts: [127.0.0.1]
59
60srt: true
61srtAddress: :8890
62
63pathDefaults:
64 source: publisher
65 # recording is per stream (nc-stream record NAME on), on the computer's own
66 # disk (the desk volume is small), deleted after two days
67 record: false
68 recordPath: /var/lib/nc-streams/recordings/%path/%Y-%m-%d_%H-%M-%S-%f
69 recordFormat: fmp4
70 recordSegmentDuration: 10m
71 recordDeleteAfter: 48h
72
73paths:
74 all_others: