(self, url, to, chunk_size=4096)
Writes a snapshot to a given local file path.

        url: presignedContentUrl or presignedFullFrameSnapshotUrl
        to: path where the file should be written
Writes a snapshot to a given local file path.
Writes a snapshot to a given local file path .
def DownloadSnapshot(self, url, to, chunk_size=4096):
        """
        Writes a snapshot to a given local file path.

        url: presignedContentUrl or presignedFullFrameSnapshotUrl
        to: path where the file should be written
        """
        r = Request().get(url, stream=True)
        with open(to, 'wb') as fd:
            for chunk in r.iter_content(chunk_size):
                fd.write(chunk)
        fd.close()
def DownloadSnapshot ( self , url , to , chunk_size = 4096 ) : r = Request ( ) . get ( url , stream = True ) with open ( to , 'wb' ) as fd : for chunk in r . iter_content ( chunk_size ) : fd . write ( chunk ) fd . close ( )