Hi,
Is there a way to run the dash.js player "headless" (without GUI, run from a command line) in order to verify the feed requests result in non 4XX/5XX errors, and also to possibly do load testing?
Haven't tried it myself, but headless Chrome [1] looks like it might be an option? If you do try it, I'm pretty sure there would be other people interested in hearing about your experience here.
[1] https://developers.google.com/web/updates/2017/04/headless-chrome
Hi @mlondon1, I have tried load testing using headless chrome. It is indeed a good option.
@bbcrddave maybe we can create a wiki page or a readme file detailing the steps required for the setup.
It's easy to do load testing using headless chrome, like:
chrome --headless --disable-gpu --remote-debugging-port=9222 http://localhost:3000/samples/getting-started-basic-embed/auto-load-single-video-src.html
You just need to point it to your video source and spawn as many processes as you want.
What is more complicated is getting the console output or request errors, we'd probably need some other software on top of chrome.
I've seen an issue where headless chrome would not request video frames after the initial buffer on video load. Has anyone else seen that and is there some way around it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because no further activity occurred. If you think this issue is still relevant please reopen it. Thank you for your contributions.
Most helpful comment
Hi @mlondon1, I have tried load testing using headless chrome. It is indeed a good option.
@bbcrddave maybe we can create a wiki page or a readme file detailing the steps required for the setup.