rtmp推流sdk
- 低内存占用
- 支持h264/h265
- 支持g711/aac
- rtmp推流
- mkdir build
- cd build
- cmake ..
- make -j10
RtmpContex * RtmpNewContext( const char * _url, unsigned int _nTimeout,
RtmpPubAudioType _nInputAudioType,
RtmpPubAudioType _nOutputAudioType,
RtmpPubTimeStampPolicy _nTimePolic);
int RtmpConnect( RtmpContex * _pConext);
int RtmpSendAudio( RtmpContex *_pConext, char *_pData,
unsigned int _nSize, unsigned int _nPresentationTime );
int RtmpSendVideo( RtmpContex *_pConext, char *_pData,
unsigned int _nSize, int _nIsKey, unsigned int _nPresentationTime );
int RtmpDestroy( RtmpContex * _pConext );
- treeswayinwind@gmail.com
- 企鹅: 279191230