Increased maximum simultaneous tracks from 5 to 10, made this a define option. Allow multiple pushes through a single RTMP connection.
This commit is contained in:
parent
8d377602be
commit
69cf17d01d
8 changed files with 68 additions and 47 deletions
|
@ -1,3 +1,4 @@
|
|||
#pragma once
|
||||
// Defines to print debug messages.
|
||||
#ifndef MIST_DEBUG
|
||||
#define MIST_DEBUG 1
|
||||
|
@ -77,3 +78,5 @@ static const char * DBG_LVL_LIST[] = {"NONE", "FAIL", "ERROR", "WARN", "INFO", "
|
|||
#define SEM_LIVE "MstLIVE%s" //%s stream name
|
||||
#define NAME_BUFFER_SIZE 200 //char buffer size for snprintf'ing shm filenames
|
||||
|
||||
#define SIMUL_TRACKS 10
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <set>
|
||||
|
||||
#include "timing.h"
|
||||
#include "defines.h"
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#include <windows.h>
|
||||
|
@ -11,7 +12,7 @@
|
|||
#endif
|
||||
|
||||
#define STAT_EX_SIZE 172
|
||||
#define PLAY_EX_SIZE 32
|
||||
#define PLAY_EX_SIZE 2+6*SIMUL_TRACKS
|
||||
|
||||
namespace IPC {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue