mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
adaptivedemux2: Define RFC8673_LAST_BYTE_POS
Define the recommended value from RFC8673 for the last byte of an open-ended range request intended to invoke chunked blocking downloads of an incrementally created resource. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
61516eadf6
commit
30bc72d6c7
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ typedef enum DownloadFlags DownloadFlags;
|
|||
|
||||
#define HTTP_STATUS_IS_SUCCESSFUL(s) ((s) >= 200 && (s) < 300)
|
||||
|
||||
/* RFC8673 recommended last-byte-pos value of 2^^53-1 */
|
||||
#define RFC8673_LAST_BYTE_POS (9007199254740991)
|
||||
|
||||
enum DownloadFlags
|
||||
{
|
||||
DOWNLOAD_FLAG_NONE = 0,
|
||||
|
|
Loading…
Reference in a new issue