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

refine the mix correct algorithm, mix when got 10+ av or got 1 video and 1 audio.

This commit is contained in:
winlin 2015-06-06 21:54:43 +08:00
parent ec24533955
commit 2d9f258eaf
2 changed files with 16 additions and 3 deletions

View file

@ -375,6 +375,7 @@ class SrsMixQueue
{
private:
u_int32_t nb_videos;
u_int32_t nb_audios;
std::multimap<int64_t, SrsSharedPtrMessage*> msgs;
public:
SrsMixQueue();