On Streaming Codes for Burst and Random Errors