Commit graph

878 commits

Author SHA1 Message Date
Thulinma
ef412b62da Updated everything for new socket lib requirements - working VoD through HTTP progressive, HTTP dynamic is almost working and RTMP is severely broken altogether. 2012-08-31 17:00:53 +02:00
Thulinma
5165aae7e3 Update to buffer/player <-> connector protocol, now more in-line with established behaviour. Seeking support in HTTP dynamic and progressive. 2012-08-31 17:00:19 +02:00
Thulinma
58a6af9450 RTMP seeking support. 2012-08-31 17:00:19 +02:00
Peter Wu
a9db94a598 conn_http_progressive: correctly set streamname 2012-08-31 13:03:32 +02:00
Peter Wu
11b85b36b1 Do not prevent user from overriding CXXFLAGS
make CXXFLAGS=-O0 would not work without this.
2012-08-31 13:03:32 +02:00
Peter Wu
25300c48cd player: faster seek termination detection
Instead of hanging when the gap between two frames is larger than 100ms,
terminate after 5 times of trying.
2012-08-30 16:59:49 +02:00
Peter Wu
25b1d31b00 player: add "pause" command, small fixes
- position cannot get negative, so use unsigned

- be sure that the read line is null-terminated (for strlen)

- clear buffers to avoid playing old data
2012-08-30 16:59:49 +02:00
Peter Wu
f2d142c9c7 player: byteseek support 2012-08-30 16:59:49 +02:00
Peter Wu
82b7345944 player: do not drop trailing packets 2012-08-30 16:59:49 +02:00
Peter Wu
ee46a189a6 conn_http_progressive: seek support 2012-08-30 16:59:49 +02:00
Peter Wu
b592d39bfd player: require "seek" before outputting 2012-08-30 16:59:49 +02:00
Peter Wu
96f0ade4ca player: seek fixes 2012-08-30 16:59:49 +02:00
Lekensteyn
923d116afa Seek WIP in player 2012-08-30 16:59:49 +02:00
Peter Wu
21f6a1fe9d player: initial implementation 2012-08-30 16:59:49 +02:00
Peter Wu
beca2400dd Convert to Util::Stream::* 2012-08-30 16:42:09 +02:00
Peter Wu
8543c1a678 Remove stale compressed.js dependency 2012-08-30 16:10:43 +02:00
Peter Wu
cdfd074a1b Bundle server.html so it does not need to get rebuilt
Also remove CLOSUREJAR dependency. This gives less useful error messages, but
ah well...
2012-08-30 16:02:44 +02:00
Peter Wu
86fee22565 fix make dist 2012-08-30 15:30:07 +02:00
Peter Wu
8fd383115f Fix building of server.html.h, move embed.js.h 2012-08-30 11:05:19 +02:00
Niels Groot Obbink
45d9971aca Fixed embed code width/height problems. 2012-08-29 16:51:42 +02:00
Niels Groot Obbink
3acbd7cb36 Merge branch 'development' of github.com:DDVTECH/DMS into development 2012-08-29 16:27:31 +02:00
Niels Groot Obbink
d357065b92 moar fixes... D: 2012-08-29 16:27:16 +02:00
Thulinma
ce2d2ca83e Fix parsing of xxd output in conn_http.cpp by removing the trailing ";\n" 2012-08-29 16:21:12 +02:00
Niels Groot Obbink
8d5d15669f embed.js error fix 2012-08-29 16:19:34 +02:00
Niels Groot Obbink
4257ac6634 fixed JS parse error 2012-08-29 15:56:11 +02:00
Niels Groot Obbink
8c22dab6fd embed code for inclusion in magical http connector... or something. 2012-08-29 15:53:50 +02:00
Thulinma
2e5ae34547 Exported embed code to separate file. 2012-08-29 15:52:55 +02:00
Niels Groot Obbink
728f852bfb embed code for embed http connector... yeah. 2012-08-29 15:26:25 +02:00
Thulinma
b151b13f66 Improved embeds, controller now stores metadata. 2012-08-29 15:02:17 +02:00
Niels Groot Obbink
a04adbca78 css bug margin fix 2012-08-29 13:12:31 +02:00
Niels Groot Obbink
b20e97f617 placeholder fix in FF 2012-08-29 11:52:07 +02:00
Niels Groot Obbink
b58e269b46 fixed placeholder login bug 2012-08-29 10:08:56 +02:00
Thulinma
5e36048eb2 Do not include jscompiler.jar in dist packages - require building from source (or a very creative sysadmin, whichever is easier to find/use) for changes to the LSP. 2012-08-28 23:54:31 +02:00
Thulinma
b13697db3a Fix dist packages not including lsp directory. *sigh* 2012-08-28 23:47:19 +02:00
Thulinma
7d32d2458a Fix LSP actually compiling. Oops :-) 2012-08-28 23:37:49 +02:00
Thulinma
9c368a5a86 Integrated LSP into controller - added library version to HTTP server headers, removed some temporary files from git and added them to .gitignore files. 2012-08-28 23:24:09 +02:00
Niels Groot Obbink
1ed9fb3316 aaaaand the makefile :) 2012-08-28 15:20:19 +02:00
Niels Groot Obbink
ae981d62d4 lsp source file compression and make'r 2012-08-28 15:13:54 +02:00
Niels Groot Obbink
d18f13d00f fixed stream name bug, status checking 2012-08-28 10:33:47 +02:00
Niels Groot Obbink
1d2ff96f6e for readability and maintainability splitted lsp files 2012-08-28 09:43:07 +02:00
Thulinma
d7a0a60053 Require libmist-1.0 version 1.0.0 2012-08-27 00:03:09 +02:00
Thulinma
6a6b37fc27 Reduce verbosity to releaseable levels. 2012-08-26 23:17:38 +02:00
Thulinma
860fbe0b53 Fixed controller crash when deleting old stream data. 2012-08-26 23:17:20 +02:00
Thulinma
984a422279 Again, fixed hooks. 2012-08-26 23:16:57 +02:00
Thulinma
607a41c443 Make HTTP proxy insta-murder connections that need to be re-used (happens when progressive makes two connections from one user agent for some reason - kills the oldest connections for the newest one). 2012-08-26 22:17:51 +02:00
Thulinma
469d810d6b Update HTTP proxy timeout from 10s to 20s. 2012-08-26 21:19:16 +02:00
Thulinma
0947512ff6 Fixed hook creator to also work when pulling. 2012-08-26 21:18:58 +02:00
Thulinma
a15ea64e4e Fix controller keeping stats for deleted streams - now deletes stats 2 minutes after receiving the last updates. 2012-08-26 20:46:03 +02:00
Thulinma
afefe24578 Fix IP addresses for HTTP connectors, update all code to only use non-deprecated libmist calls. 2012-08-26 19:58:53 +02:00
Peter Wu
b141b4058e conn_http: prevent 100% CPU usage 2012-08-25 23:10:43 +02:00