mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #250, parse pes packet ok, ts message ok.
This commit is contained in:
parent
486277089d
commit
1685cdd48e
6 changed files with 740 additions and 25 deletions
|
@ -39,10 +39,12 @@ class SrsConfDirective;
|
|||
|
||||
#ifdef SRS_AUTO_STREAM_CASTER
|
||||
|
||||
#include <srs_kernel_ts.hpp>
|
||||
|
||||
/**
|
||||
* the mpegts over udp stream caster.
|
||||
*/
|
||||
class SrsMpegtsOverUdp
|
||||
class SrsMpegtsOverUdp : public ISrsTsHandler
|
||||
{
|
||||
private:
|
||||
SrsStream* stream;
|
||||
|
@ -67,6 +69,9 @@ private:
|
|||
* the stream contains the ts packet to parse.
|
||||
*/
|
||||
virtual int on_ts_packet(SrsStream* stream);
|
||||
// interface ISrsTsHandler
|
||||
public:
|
||||
virtual int on_ts_message(SrsTsMessage* msg);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue