(self, url, chunk_size=4096)
return video
Returns the whole video from the presignedContentUrl.
Returns the whole video from the presignedContentUrl.
Returns the whole video from the presignedContentUrl .
def GetRecording(self, url, chunk_size=4096):
        """ Returns the whole video from the presignedContentUrl. """
        video = ''
        r = requests.get(url, stream=True)
        r.raise_for_status()

        for chunk in r.iter_content(chunk_size):
            if chunk: video += chunk
        return video
def GetRecording ( self , url , chunk_size = 4096 ) : video = '' r = requests . get ( url , stream = True ) r . raise_for_status ( ) for chunk in r . iter_content ( chunk_size ) : if chunk : video += chunk return video