adds additional check for SourceBuffer existence after appending segments