-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
status: archivedArchived and locked; will not be updatedArchived and locked; will not be updatedtype: bugSomething isn't working correctlySomething isn't working correctly
Milestone
Description
I use shaka-packager to generate HLS + TS and use shaka-player to playback,but it return error 6001.
Error code 6001 object N {severity: 2, category: 6, code: 6001, data: Array(0), handled: false}
shaka-packager : v2.4.3
shaka-player:2.5.17
./packager-linux \
'in=audio_aac_128k.mp4,stream=audio,segment_template=hls_ts_test/ts_audio_aac_128k_$Number$.aac' \
'in=h264_main_720p_3000.mp4,stream=video,segment_template=hls_ts_test/ts_h264_main_720p_3000_$Number$.ts' \
'in=h264_baseline_360p_600.mp4,stream=video,segment_template=hls_ts_test/ts_h264_baseline_360p_600_$Number$.ts' \
--enable_raw_key_encryption \
--keys label=**** \
--pssh **** \
--clear_lead 0 \
--hls_master_playlist_output hls_test.m3u8
I use https://github.com/amit08255/shaka-player-react-with-ui-config/tree/master/nextjs-shaka-player to playback,and add mux.js.
class MyApp extends App {
componentDidMount(){
const script = document.createElement("script")
script.src = "https://github.com/videojs/mux.js/releases/latest/download/mux.js"
script.async = true
document.body.appendChild(script)
}
render() {
const { Component, pageProps } = this.props;
return (
<Fragment>
<Component {...pageProps}/>
</Fragment>
);
}
}
export default MyApp;
HLS+TS playback if not encrypt.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: archivedArchived and locked; will not be updatedArchived and locked; will not be updatedtype: bugSomething isn't working correctlySomething isn't working correctly