mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #2142, Fix bug for fixing memory leak for bridger. 4.0.62
This commit is contained in:
parent
4e70bf5eaf
commit
4bb3ad5637
3 changed files with 12 additions and 2 deletions
|
@ -216,6 +216,7 @@ public:
|
|||
// Consume the shared RTP packet, user must free it.
|
||||
srs_error_t on_rtp(SrsRtpPacket2* pkt);
|
||||
// Set and get stream description for souce
|
||||
bool has_stream_desc();
|
||||
void set_stream_desc(SrsRtcStreamDescription* stream_desc);
|
||||
std::vector<SrsRtcTrackDescription*> get_track_desc(std::string type, std::string media_type);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue