Commit 4bea979
committed
withhold MJPEG stream URLs until authentication
- main.html fills the url attribute only when a session exists
- doAuth() reloads the frame page after login, so the stream starts
without a manual refresh
- refreshCameraFrame() skips the refresh while the URL is empty
- frame() marks its response uncacheable1 parent 2d62cce commit 4bea979
4 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
255 | 257 | | |
256 | 258 | | |
257 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
85 | 89 | | |
86 | 90 | | |
87 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5494 | 5494 | | |
5495 | 5495 | | |
5496 | 5496 | | |
| 5497 | + | |
| 5498 | + | |
| 5499 | + | |
| 5500 | + | |
5497 | 5501 | | |
5498 | 5502 | | |
5499 | 5503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1360 | 1360 | | |
1361 | 1361 | | |
1362 | 1362 | | |
1363 | | - | |
| 1363 | + | |
1364 | 1364 | | |
1365 | 1365 | | |
1366 | 1366 | | |
| |||
0 commit comments