@Override
    public String getId() {
        if (id == null) {
            id = streamEncoder.getId() + fileDescriptorEncoder.getId();
        }
        return id;
    }
A source encoder that writes a {@link ImageVideoWrapper} to disk by preferentially
writing data from the wrapper's {@link InputStream} and falling back to the wrapper's
{@link ParcelFileDescriptor} if the {@link InputStream} isn't available.
core/src/main/java/com/bumptech/glide/load/model/ImageVideoWrapperEncoder.java