mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-03 00:47:34 +08:00
初步添加HlsMediaSource
This commit is contained in:
@@ -43,6 +43,9 @@ public:
|
||||
~HlsRecorder(){
|
||||
delete _hls;
|
||||
}
|
||||
void setMediaInfo(const string &vhost, const string &app, const string &stream_id){
|
||||
_hls->setMediaInfo(vhost,app,stream_id);
|
||||
}
|
||||
protected:
|
||||
void onTs(const void *packet, int bytes,uint32_t timestamp,int flags) override {
|
||||
_hls->inputData((char *)packet,bytes,timestamp);
|
||||
|
||||
Reference in New Issue
Block a user