mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
fix bug of librtmp
This commit is contained in:
parent
a9d11df3a3
commit
644dfa1a6d
2 changed files with 3 additions and 0 deletions
|
@ -268,6 +268,7 @@ int SrsConsumer::enqueue(SrsSharedPtrMessage* msg, int tba, int tbv)
|
||||||
{
|
{
|
||||||
int ret = ERROR_SUCCESS;
|
int ret = ERROR_SUCCESS;
|
||||||
|
|
||||||
|
/* TODO: to support atc */
|
||||||
if ((ret = jitter->correct(msg, tba, tbv)) != ERROR_SUCCESS) {
|
if ((ret = jitter->correct(msg, tba, tbv)) != ERROR_SUCCESS) {
|
||||||
srs_freep(msg);
|
srs_freep(msg);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
|
@ -33,6 +33,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/uio.h>
|
#include <sys/uio.h>
|
||||||
|
|
||||||
|
#include <srs_kernel_utility.hpp>
|
||||||
|
|
||||||
#ifndef ST_UTIME_NO_TIMEOUT
|
#ifndef ST_UTIME_NO_TIMEOUT
|
||||||
#define ST_UTIME_NO_TIMEOUT -1
|
#define ST_UTIME_NO_TIMEOUT -1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue