fix(1796): set buffer to 30 seconds (#531)

keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
Mirlan 4 years ago
parent 96923a5ba9
commit 7cc2163e68
  1. 2
      src/features/StreamPlayer/config.tsx

@ -4,7 +4,7 @@ import { readToken } from 'helpers/token'
export const streamConfig: Partial<Hls.Config> = {
liveSyncDuration: 10,
maxBufferLength: 15,
maxBufferLength: 30,
xhrSetup: (xhr, urlString) => {
const url = new URL(urlString)
url.searchParams.set('access_token', readToken() || '')

Loading…
Cancel
Save