'Usage: stream <remotefile> <localpipe> [format] [chunk] - stream a video / audio file converted to M3U format at cloud side, to a pipe.
remotefile - remote file at Baidu Yun (after app root directory at Baidu Yun)
localpipe - the local pipe file to write to
format - output video format (M3U8_320_240 | M3U8_480_224 | M3U8_480_360 | M3U8_640_480 | M3U8_854_480). Default: M3U8_480_360
chunk - chunk (initial buffering) size for streaming (default: 4M)
To stream a file, you can use the \'mkfifo\' trick with omxplayer etc.:
mkfifo /tmp/omx
bypy.py downfile <remotepath> /tmp/omx &
omxplayer /tmp/omx
*** NOT WORKING YET ****'

def streaming(self, remotefile, localpipe, fmt=u'M3U8_480_360', chunk=(4 * const.OneM)):

    pars = {u'method': u'streaming', u'path': get_pcs_path(remotefile), u'type': fmt}
    return self.__get((pcsurl + u'file'), pars, self.__streaming_act, (localpipe, chunk), stream=True)
