mirror of
				https://github.com/ossrs/srs.git
				synced 2025-03-09 15:49:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			230 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			230 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
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;
 | 
						|
}
 | 
						|
 |