Shaka Player is an open-source JavaScript library for adaptive media. It plays adaptive media formats (such as DASH and HLS) in a browser, without using plugins or Flash.
Questions tagged [shaka]
104 questions
5
votes
2 answers
Shaka player cannot load HLS on google chrome
I'm trying to load a VOD on shaka player.
this is my Url:
https://5b48f8f32d3be.streamlock.net/023a27950bd44774/mp4:22436e792e8b42de_HD.0.mp4/playlist.m3u8
I keep getting 4032 error in the console and I've searched a little bit about it. In the…

Mot
- 73
- 1
- 4
4
votes
0 answers
iOS extend controller and miniplayer won't handle event using chromecast receiver based on shaka player
I'm using
https://github.com/google/shaka-player/tree/master/demo/cast_receiver
with iOS client and android Client.
My iOS it's base on:
https://github.com/googlecast/CastVideos-ios
With Android there is no problem doing seek, pause, play on…

Andrea Bozza
- 1,374
- 2
- 12
- 31
3
votes
1 answer
How to import Shaka player with typescript
I hope my question doesn't seem silly, but I'm facing some issues when importing Shaka player in a typescript module like this:
import shaka from 'shaka-player/dist/shaka-player.ui';
In this case the compiler tells me this:
TS2306: File…

Trabelsi Mohamed Hedi
- 81
- 2
- 8
3
votes
1 answer
How to obtain widevine payload (challenge) in google cast?
I'm developing my own Custom Receiver Application and the stream I want to play is protected with widevine, I need to obtain my license from my own server and I need to pass content_id and payload. This my code:
playbackConfig.protectionSystem =…

aloj
- 3,194
- 7
- 27
- 38
3
votes
0 answers
Parsing HLS manifest of live stream in Safari to retrieve time-based metadata
I am using native Safari player implementation to stream video with HLS streaming protocol.
My goal is to get time-based metadata (such as EXT-X-DATERANGE) from a live stream manifest.
As far as I know, it is not possible to retrieve this data…

glhvta
- 31
- 2
3
votes
2 answers
Playing HLS m3u8 using Shaka Player on Chrome
I follow the basic usage of shaka that works with DASH video, but throws an Error code 4032 when trying to load a M3U8.
import * as muxjs from 'mux.js';
import * as shaka from 'shaka-player';
export class AppComponent implements AfterViewInit {
…

Arco Voltaico
- 860
- 13
- 29
3
votes
2 answers
How to Play a video with multiple Resolutions using Shaka Player?
I want to play a video with multiple Resolutions using Shaka Player. Single video with multiple qualities.
I have checked all the api's of shaka player. But I don't know how to do it.
I should have a video tag and I have to pass a DASH video.
My…

Karthick
- 47
- 2
- 8
3
votes
1 answer
Shaka packager doesn't encrypt assets
I am just unable to figure out how shaka player is able to decrypt my CENC protected content even though I am providing invalid decryption keys in player config.
player.configure({
drm: {
clearKeys: {
'6FepeJBbmaiozSMs18vPfA==':…

Suhayb
- 3,163
- 3
- 23
- 30
3
votes
1 answer
Mpeg Dash - fragmentation and segmentation
I am trying to implement Mpeg DASH streaming using shaka packager.
To generate segments of duration 5 seconds each, --segment_duration param helps me achieve this.
https://google.github.io/shaka-packager/html/documentation.html#chunking-options
I…
user7665040
3
votes
1 answer
Fragmented mp4 for DASH and HLS On Demand vs Live Profiles
I'm experimenting with Bento4 and Shaka Packager to output files for both DASH and HLS using fragmented mp4.
I'm having some trouble understanding the differences and pros and cons between the MPEG-DASH Live and On-Demand profiles. If I was…

edwinbradford
- 435
- 5
- 20
3
votes
1 answer
FFmpeg/DASH: duration or timestamp out of range for mov/mp4 format
I'm trying to convert a aac stream to dash. The issue is that I get a lot of errors as below(though it seems to segment it into multiple files but I get errors on the player too). The question is why do I get these errors and how can I fix it? If I…

mike
- 533
- 1
- 7
- 24
2
votes
1 answer
How to override Shaka player version using new API released March 31, 2022?
Google released new version CAST SDK March 31, 2022 with ability for overriding Shaka Player version (as release notes said :) ) but it didn't provide documentation how to set the Shaka Player version
That is all what documentation has about…

Ihar Katkavets
- 1,510
- 14
- 25
2
votes
0 answers
Shaka player failing tests with jest
I have a component including shaka player that I want to test with react test library which is based on jest.
...
...
When running a test on…

unludo
- 4,912
- 7
- 47
- 71
2
votes
0 answers
Whats the quickest way to iterate through failed Bull.js jobs and delete them properly?
I have a problem with my video upload pipeline getting stalled and users looking at a "waiting" notification all the time. It is a video upload pipeline that converts the videos with ffmpeg and uploads to AWS. It seems that there are failed/stuck…

lovgrandma
- 133
- 1
- 9
2
votes
1 answer
Changing Shaka player locale
The website I'm making has an option to switch display language between German and English. Shaka player seems to have support for localization switching, but I couldn't manage to display the player in anything other than English.
Tried using…

Shako
- 21
- 1