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

for #293, #250, move the ts codec to kernel ts.

This commit is contained in:
winlin 2015-01-25 10:54:25 +08:00
parent d22e4e86d8
commit ea85ad2e20
7 changed files with 829 additions and 800 deletions

View file

@ -58,6 +58,11 @@ public:
* @remark user should never use the buf, for it's a shared memory bytes.
*/
virtual int on_udp_packet(sockaddr_in* from, char* buf, int nb_buf);
private:
/**
* when got a ts packet, in size TS_PACKET_SIZE.
*/
virtual int on_ts_packet(char* ts_packet);
};
#endif