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

Refactor RTC publisher, rename pkt to frame

This commit is contained in:
winlin 2020-05-03 17:43:38 +08:00
parent 47ed16eda1
commit 45f35e3ec8
2 changed files with 18 additions and 18 deletions

View file

@ -288,9 +288,9 @@ public:
virtual void on_before_decode_payload(SrsRtpPacket2* pkt, SrsBuffer* buf, ISrsCodec** ppayload);
private:
srs_error_t on_audio(SrsRtpPacket2* pkt);
srs_error_t collect_audio_frame(SrsRtpPacket2* pkt);
srs_error_t on_audio_frame(SrsRtpPacket2* frame);
srs_error_t on_video(SrsRtpPacket2* pkt);
srs_error_t collect_video_frame(SrsRtpPacket2* pkt);
srs_error_t on_video_frame(SrsRtpPacket2* frame);
public:
void request_keyframe();
// interface ISrsHourGlass