NUI comma api intergration (#1186)

* Prototyping comma api call

* Adding nui command

* Fixing hard coded vals

* Adding generalized nui changes

* Added both public and private api support

* Removing debug statement

* Chaning private api tag to use env variables

* FrameReader change for string parsing

old-commit-hash: 763493e98887d207cd6632e13b0a7a31573ad41d
This commit is contained in:
Ayman Saleh
2020-03-01 22:06:33 -08:00
committed by GitHub
parent af2a48f249
commit 1cae066cda
7 changed files with 86 additions and 13 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ FrameReader::FrameReader(const char *fn) {
avformat_network_init();
av_register_all();
snprintf(url, sizeof(url)-1, "http://data.comma.life/%s", fn);
snprintf(url, sizeof(url)-1,"%s",fn);
t = new std::thread([&]() { this->loaderThread(); });
}