devalexqt

Results 53 comments of devalexqt

Some info: https://www.reddit.com/r/Deno/comments/ghiocq/is_there_a_way_to_handle_data_in_deno_by_using/ https://github.com/denoland/deno/blob/30702e2678200b6e21ba142347d2d213b86e9c6d/cli/tests/unit/streams_piping_test.ts ``` // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. import { unitTest, assert, assertEquals } from "./test_util.ts"; import { assertThrowsAsync } from "../../../std/testing/asserts.ts";...

more info: https://stackoverflow.com/questions/62019830/how-can-i-write-files-in-deno ``` var file = await Deno.open('./test.txt', { write: true, create: true }) //then somehow pipe req data to file ... ```

https://github.com/denoland/deno/issues/5996

It will be fired when I call player.decode(data) but decoder need more packet for fully decode picture in this case event "needMoreDataForDecodePicture" will be fired. Client subscribe for "needMoreDataForDecodePicture" event...

For, example, now I push live data from raspberry pi camera to decoder over websocket, but for live stream (no delay) I need decode latest packet that I received over...

If I stream 640x360 at 30fps it have no delay. But if I change to 720p when I have more then 100 packets in frame_list array and can't skip to...

I think function will be fine.