Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 84d61128 authored by Li Sun's avatar Li Sun Committed by Steve Kondik
Browse files

httplive: avoid zero byte read request

- In LiveSession, check whether maxBytesToRead is zero, if yes
  ignore it because zero byte read request is meaningless.

- In PlaylistFetcher, check whether the read bytes is less than
  the requested block size, if yes, finish fetching the current
  segment file because it means fetching file already meets EOS.

Change-Id: I150d4b147090dbd48d804ebd96ea909e5b6fdbcb
parent 29c4a56d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment