Skip to content

video.upload loads entire video file into memory #64

@thenewguy

Description

@thenewguy

@https://github.com/sciyoshi/pyfacebook/blob/master/facebook/__init__.py#L1138

It appears that VideoProxy.upload() was copied from PhotosProxy.upload(). The upload method loads the entire file into memory. Seeing as to how high quality videos are quite large, this should be reworked in the VideoProxy for sure and arguably PhotosProxy as well for the sake of shared hosting or situations where memory is limited.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions