We support connection stalling for byte-seekable resources, so we should
indicate that.
if (!this.should_stream ()) {
protocol_info.dlna_operation = DLNAOperation.RANGE;
- protocol_info.dlna_flags |= DLNAFlags.BACKGROUND_TRANSFER_MODE;
+ protocol_info.dlna_flags |= DLNAFlags.BACKGROUND_TRANSFER_MODE |
+ DLNAFlags.CONNECTION_STALL;
}
return protocol_info;
protocol_info.dlna_profile = this.dlna_profile;
protocol_info.protocol = protocol;
protocol_info.dlna_flags |= DLNAFlags.INTERACTIVE_TRANSFER_MODE |
- DLNAFlags.BACKGROUND_TRANSFER_MODE;
+ DLNAFlags.BACKGROUND_TRANSFER_MODE |
+ DLNAFlags.CONNECTION_STALL;
return protocol_info;
}