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:
commit
33375db401
6 changed files with 32 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue