Merge TS buffer to recorded file (fix ts packet header issue)
Revert: Merge TS buffer to recorded file