aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logo.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-05-13 14:31:44 -0700
committerAdam Soltys <[email protected]>2020-05-13 14:31:44 -0700
commit816bfa54afd50059d781a9da5dc953611b9fdc66 (patch)
tree543ca23173d316ec4f2c53f8b2cd84125bf6f33e /lib/logo.js
parentbaba2be1a1ae06833ee324948cd1b8d339ed5323 (diff)
downloadcoinos-server-816bfa54afd50059d781a9da5dc953611b9fdc66.tar.gz
coinos-server-816bfa54afd50059d781a9da5dc953611b9fdc66.zip
use ws instead of socket.io
Diffstat (limited to 'lib/logo.js')
0 files changed, 0 insertions, 0 deletions
the clip on screen at once, streaming as it goes, and fetches the opening 512 KB of the next two into the browser's HTTP cache with a range request (a host that ignores the range has the rest cancelled); the player, given the file when it's swiped to, takes its opening from the cache and streams on from there (the test's server sees its first request start at byte 524288; playing ~300 ms after the swipe). The next clips get no player of their own beforehand: one given its file, even with preload=metadata, took the whole 34 MB on a fast link. With Data Saver on or a slow link (2g/3g), the pager is careful as before: a clip over budget waits for a tap and nothing loads ahead. tools/pager-eager-test.js (35 MB clips: covered in the feed, played in the pager, 512 KB each ahead and nothing more, the cache reused; Data Saver: nothing ahead, the cover); feed-media-views-test moves its tap-to-play checks onto a slow link and checks the 50 MB clip plays on an ordinary one (its index-last probe check fails on HEAD before this too).' href='/coinosv3.git/commit/tools/pager-eager-test.js?id=6fdca50f17b1e814bbf6ba1fc1ffcb18001c54fd'>6fdca50 ^
7270599 ^
6fdca50 ^










7270599 ^

6fdca50 ^
7270599 ^
6fdca50 ^









7270599 ^

6fdca50 ^



7270599 ^


6fdca50 ^

7270599 ^

6fdca50 ^

















7270599 ^
6fdca50 ^





























7270599 ^
6fdca50 ^
7270599 ^
6fdca50 ^

7270599 ^






6fdca50 ^






7270599 ^
6fdca50 ^
7270599 ^
6fdca50 ^
7270599 ^




6fdca50 ^







7270599 ^
6fdca50 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160