Comments (4)
Dove a little bit deeper into the number '2208988800', and what it represents, and it's about the epoch on a 32 bit system. This machine is a RaspberryPi 2, and it honers the 32bit epoch fail after 2147483647 which will be 'Tue Jan 19 04:14:07 CET 2038' (local Netherlands). 2147483648 will fail.The next patch builds without problems, and is better than the former.
diff -aur mistserver-git.a/lib/timing.cpp mistserver-git.b/lib/timing.cpp
--- mistserver-git.a/lib/timing.cpp 2016-01-29 19:20:44.204785618 +0100
+++ mistserver-git.b/lib/timing.cpp 2016-01-29 19:24:30.763429287 +0100
@@ -65,7 +65,7 @@
long long Util::getNTP() {
struct timespec t;
clock_gettime(CLOCK_REALTIME, &t);
- return ((((long long int)t.tv_sec) + 2208988800) << 32) + (t.tv_nsec * 4.2949);
+ return ((((long long int)t.tv_sec) + 2147483647) << 32) + (t.tv_nsec * 4.2949);
}
/// Gets the current time in milliseconds.
from mistserver.
Thanks! We're actually working on a long overdue change to the source that will make it fully compatible with other processor types, and will make sure to pick this up during that!
from mistserver.
By the way, for those willing to try a binary ARMHF build I have put mine on:
https://dl.bintray.com/gdm85/ubuntu14-bin/
(latest master) It was not possible to build with make -j
because of memory limitations of my device, but in the end it finished successfully (albeit the warnings). Now I am going to give this a try :)
from mistserver.
ARMv7 and ARMv8-64 builds are now officially supported (and available on the website).
Should there still be any problems with compiling on ARM, feel free to re-open this issue.
from mistserver.
Related Issues (20)
- "ERROR: Overwriting old page for..." HOT 4
- Is there an opportunity to allow ffmpeg transcoder use nvidia nvenc coder?! It will be great! HOT 6
- Unusable TSSRT - multiple streams over one port HOT 11
- USER_NEW trigger ignores streams from list after certain point
- Decrease or remove at all load time buffer HOT 1
- timeouts on catalyst branch HOT 3
- Warning: "unreachable code after return statement" HOT 1
- [bug] Changing Http Output port do not change embedded port
- [bug] MistSession creating many many audio tracks HOT 2
- Any possibility to send stream without registering it first HOT 4
- Stream Name - using only numbers <imei> HOT 3
- how to convert from UDP to HLS(m3u8) HOT 1
- HLS (.m3u8) working fine in 3.2.2, but not in 3.3 HOT 3
- 3.3 Free_64 reports 3.2.2 as an update
- Load Balancer
- How to Encode video at different resolutions HOT 4
- API requests HOT 2
- Advanced Statistics for the Push Output Stream HOT 1
- MistServer not loading config file copied in to docker image. HOT 4
- stream titles (metadata) in js player? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mistserver.