mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
merge from allspace, to srs-librtmp, for vs2010
This commit is contained in:
parent
bb54194c26
commit
1855c9429c
16 changed files with 1053 additions and 320 deletions
|
@ -30,8 +30,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <sys/types.h>
|
||||
|
||||
|
||||
// for srs-librtmp, @see https://github.com/winlinvip/simple-rtmp-server/issues/213
|
||||
#ifdef _WIN32
|
||||
#if 0
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
typedef unsigned long long u_int64_t;
|
||||
typedef long long int64_t;
|
||||
|
@ -72,6 +73,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
int usleep(useconds_t usec);
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
#include <stdint.h>
|
||||
typedef uint32_t u_int32_t;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* srs-librtmp is a librtmp like library,
|
||||
* used to play/publish rtmp stream from/to rtmp server.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue