Rygel.HTTPTimeSeekResponse.HTTPTimeSeekResponse.with_length – librygel-server Reference Manual

# HTTPTimeSeekResponse.with_length

## Description:

public HTTPTimeSeekResponse.with_length (int64 start_time, int64 end_time, int64 total_duration, int64 start_byte, int64 end_byte, int64 total_size, int64 response_length)

Construct a HTTPTimeSeekResponse with time and byte range and allowing for a response length override. This is useful when the response body is larger than the specified byte range from the original content binary.

start_time and start_byte must be specified.

If total_duration and total_size are UNSPECIFIED, then the content duration/size will be signaled as unknown ("*")

if end_time is UNSPECIFIED, then the time range end will be omitted from the response. If the end_byte is UNSPECIFIED, the entire byte range response will be omitted. (see DLNA 7.5.4.3.2.24.3)