1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Research: Add simple ST

This commit is contained in:
winlin 2020-10-31 11:30:58 +08:00
parent 941fdebd24
commit ae56293b27

View file

@ -0,0 +1,14 @@
/*
g++ st0.cpp ../../objs/st/libst.a -g -O0 -o st && ./st
*/
#include <stdio.h>
#include "../../objs/st/st.h"
int main(int argc, char** argv) {
st_init();
for (;;) {
st_usleep(1000 * 1000);
}
return 0;
}