oad_start_index;

            var payload = data.subarray(payload_start_index, payload_start_index + payload_length);

            return payload;
        }

        function player_load() {
            console.log('isSupported: ' + mpegts.getFeatureList().mseLivePlayback);
            if (mediaSourceURL.className === '') {
                var url = document.getElementById('msURL').value;

                var xhr = new XMLHttpRequest();
                xhr.open('GET', url, true);
                xhr.onload 