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

Merge from SRS2, for #834

This commit is contained in:
winlin 2017-04-09 18:52:21 +08:00
commit 33375db401
6 changed files with 32 additions and 3 deletions

View file

@ -342,7 +342,12 @@ public:
*/
class SrsTsContext
{
// codec
private:
// Whether context is ready, failed if try to write data when not ready.
// When PAT and PMT writen, the context is ready.
// @see https://github.com/ossrs/srs/issues/834
bool ready;
// codec
private:
std::map<int, SrsTsChannel*> pids;
bool pure_audio;