mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine typo in kernel.
This commit is contained in:
parent
735176cab4
commit
35fe05d62c
9 changed files with 1321 additions and 1976 deletions
|
@ -35,9 +35,7 @@
|
|||
class SrsBuffer;
|
||||
class ISrsStreamWriter;
|
||||
|
||||
/**
|
||||
* Transmux the RTMP packets to AAC stream.
|
||||
*/
|
||||
// Transmux the RTMP packets to AAC stream.
|
||||
class SrsAacTransmuxer
|
||||
{
|
||||
private:
|
||||
|
@ -51,17 +49,13 @@ public:
|
|||
SrsAacTransmuxer();
|
||||
virtual ~SrsAacTransmuxer();
|
||||
public:
|
||||
/**
|
||||
* initialize the underlayer file stream.
|
||||
* @remark user can initialize multiple times to encode multiple aac files.
|
||||
* @remark, user must free the fs, aac encoder never close/free it.
|
||||
*/
|
||||
// Initialize the underlayer file stream.
|
||||
// @remark User can initialize multiple times to encode multiple aac files.
|
||||
// @remark User must free the fs, aac encoder never close/free it.
|
||||
virtual srs_error_t initialize(ISrsStreamWriter* fs);
|
||||
public:
|
||||
/**
|
||||
* write audio/video packet.
|
||||
* @remark assert data is not NULL.
|
||||
*/
|
||||
// Write audio/video packet.
|
||||
// @remark The assert data should not be NULL.
|
||||
virtual srs_error_t write_audio(int64_t timestamp, char* data, int size);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue