Commit graph

2560 commits

Author SHA1 Message Date
Thulinma
906e3803f7 Only sockets can be shut down. 2012-09-03 10:18:11 +02:00
Thulinma
31b73b9a74 Updated socket library to include socket simulation for filedescriptors. 2012-09-03 10:18:11 +02:00
Peter Wu
42875cd544 Fix compile warnings
Todo: error checking for DTSC::File::getHeader
2012-09-03 10:18:11 +02:00
Peter Wu
c35e1bbef6 flv: add duration metadata 2012-09-03 10:18:11 +02:00
Erik Zandvliet
86488b9d15 Doxygen upgrade 2012-09-03 10:18:11 +02:00
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
Thulinma
03f3ecab1b RTMP lib upgrades to return strings by reference - note: initial testing indicates raptors. Needs to be looked at ASAP! 2012-08-31 16:56:50 +02:00
Thulinma
ed2021d01c Utils::Stream::getStream now actually works in all cases where it should, the way it should. ^_^ 2012-08-31 16:56:50 +02:00
Thulinma
2afb88c8de Overloaded Socket::Connection::Send with new versions and now requires arguments to be passed by reference. Also fixed a ::close bug and hugely improved performance. 2012-08-31 16:56:50 +02:00
Thulinma
c6bb67c4b9 Improvements to HTTP::Parser - now builds responses and requests by reference and has getUrl() method to get the URL without URI-parameters. 2012-08-31 16:56:50 +02:00
Thulinma
4a940f7514 Improved seeking in DTSC::File, also, now tested working. 2012-08-31 16:56:50 +02:00
Peter Wu
8c8bf628b9 Do not prevent user from overriding CXXFLAGS
make CXXFLAGS=-O0 would not work without this.
2012-08-31 13:10:04 +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
Thulinma
8ada0103dd Merge branch 'master' into development
Conflicts:
	lib/dtsc.cpp
2012-08-31 10:44:14 +02:00
Thulinma
442abc67a8 Merge branch 'master' into development 2012-08-31 10:39:42 +02:00
Thulinma
b8a2993c73 Implement decent seeking in DTSC::File. 2012-08-31 10:39:24 +02:00
Thulinma
c6407b3aa1 Made FLV metadata more like most FLV files. 2012-08-31 10:38:53 +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
e8a20c146b stream: fix headers and missing static keyword 2012-08-30 12:30:11 +02:00
Peter Wu
740d46d4be Fix compile warnings
Todo: error checking for DTSC::File::getHeader
2012-08-30 12:26:05 +02:00
Peter Wu
9c0aa93bfd Move Socket::*Stream > Util::Stream::* 2012-08-30 12:23:40 +02:00
Thulinma
f9e700c5e1 Get length instead of duration when converting to FLV metadata. 2012-08-30 11:50:06 +02:00
Thulinma
a995e7215d Only sockets can be shut down. 2012-08-30 11:28:36 +02:00
Thulinma
870f71333b Updated socket library to include socket simulation for filedescriptors. 2012-08-30 11:19:46 +02:00
Peter Wu
940fb7eb4c Merge branch 'master' into development 2012-08-30 11:17:57 +02:00
Peter Wu
f11ce43887 Fix compile warnings
Todo: error checking for DTSC::File::getHeader
2012-08-30 11:16:49 +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