videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
37.95k stars 7.43k forks source link

is there any way to control the segment downloadable size in hls or dash ? #6879

Closed Liocat-sp closed 3 years ago

Liocat-sp commented 4 years ago

Description

i am using dash and hls adaptive streaming and i have a video of 720p rendered at 1.2Mbps from aws. when my video first load's the size of the chunk is around 700 kb or 1mb sometime. and i wanted to know is there any way to control the bitrate or size of video segment. i want to have around 120kb so that my video starts as fast as possible. i have seen at https://videojs-http-streaming.netlify.app/utils/stats/ site it shows that measured bitrate is 363kbps and video bitrate is 40.5 kbps. so can anyone help me in this. and if there is anything related to aws rendering please help me with that.

i am new to the video streaming and i will appreciate any kind of help.

Additional information

i am using video.js in react.js in functional components.

videojs

what version of videojs does this occur with? v7.8.3

gkatsev commented 4 years ago

Unfortunately, there isn't really a way to control this. We make an XHR for segments and the chunk sizes are determined by the backend or the browser.

Liocat-sp commented 4 years ago

that's ok and thanks for responding.

Liocat-sp commented 3 years ago

got my answer.