对于tcp 的读取,缓存是非常重要的。 TSSegment::onSegment _on_ts; void HlsPlayer::onPacket_l(const char *data, size_t len){ _segment.input