152 Commits

Author SHA1 Message Date
kixelated
7bb6068951
Merge pull request #13 from wanjohiryan/patch-1
Fix for audio breaking after a certain time into the stream
2023-05-15 19:44:14 -07:00
Wanjohi
14bb3e80b1
Fix for endIndex == 0 breaking audio
The audio seems to break whenever endIndex goes to O, making "second" variable a 
``bash
Float32Array [buffer: SharedArrayBuffer(17640), byteLength: 0, byteOffset: 0, length: 0, Symbol(Symbol.toStringTag): 'Float32Array']
buffer:SharedArrayBuffer(17640)
byteLength:0
byteOffset:0
length: 0
Symbol(Symbol.toStringTag): "Float32Array"
[[Prototype]]:TypedArray
``
2023-05-15 23:50:17 +03:00
Luke Curley
0f4d823d39 cargo fmt 2023-05-09 14:27:11 -06:00
Luke Curley
28f5b97308 Implement prioritization.
Not tested.
2023-05-09 10:29:39 -06:00
Luke Curley
29921ba46d Rename player folder and initial broadcaster code. 2023-05-09 09:07:41 -06:00
Luke Curley
9f0c24b552 Refactor the TS code a bit. 2023-05-09 09:05:08 -06:00
Luke Curley
e6791b872d Finish merging audio with video. 2023-05-08 09:20:51 -06:00
Luke Curley
d7237c4926 Send INIT as a single message.
Much simpler on both the client and server side.
2023-05-04 19:43:43 -07:00
Luke Curley
e9663accc6 cargo clippy 2023-05-02 11:09:36 -07:00
Luke Curley
b5b7ffedfa cargo fmt 2023-05-02 11:05:21 -07:00
Luke Curley
e578b757e5 wip 2023-05-02 11:05:05 -07:00
Wanjohi
43af19ba94
Fix for audio breaking after a certain time into the stream
After some time into the audio stream, the audio breaks and an error message is displayed in the console stating that the frame offset exceeds the total frames. 
``
caught RangeError: Failed to execute 'copyTo' on 'AudioData': Frame offset exceeds total frames (1024 >= 1024).
``
This is my proposed solution to the issue.  I have tested and verified that my fix works and the audio now runs smoothly without any break.

Hope it helps :)
2023-05-02 15:57:58 +03:00
Luke Curley
2b1a3adecc Video woooorks. 2023-04-27 13:27:24 -07:00
Luke Curley
15c3352d80 Pretty gud. 2023-04-24 13:07:06 -07:00
Luke Curley
c3dd45b7a7 Proggers. 2023-04-24 11:45:46 -07:00
Luke Curley
bb0437a3bb More refactoring ofc. 2023-04-24 10:18:55 -07:00
Luke Curley
5204dbc19c Refactor and restructure the WebTransport code.
Who knows if it actually works.
2023-04-14 13:32:02 -07:00
Luke Curley
3f5bc39ffc Merge remote-tracking branch 'origin/main' into quiche 2023-04-13 13:36:51 -07:00
kixelated
261d6927c1
Merge pull request #11 from kixelated/simplify-connect
Simplify the fingerprint code.
2023-04-13 13:36:16 -07:00
Luke Curley
02dd787f97 Simplify the fingerprint code.
There was a lot of stuff left over from experimentation.
2023-04-13 13:34:34 -07:00
Luke Curley
2601c40b54 Replace Go with Rust.
No code written yet.
2023-04-13 10:20:32 -07:00
kixelated
5ba457bf65
Merge pull request #10 from kixelated/webcodecs
WebCodecs
2023-04-06 14:09:06 -07:00
Luke Curley
948d2ea1f1 Good enough 5 me. 2023-04-06 13:55:35 -07:00
Luke Curley
9e29d552a0 Audio worksish. 2023-04-03 12:48:02 -07:00
Luke Curley
a5278e6e04 Load MP4Box from npm with correct typescript definitions. 2023-04-01 22:46:11 -07:00
Luke Curley
c8c856d6b8 WIP 2023-04-01 18:34:10 -07:00
Luke Curley
032c49ab50 Initial work on audio while airbourne. 2023-04-01 19:07:56 +09:00
Luke Curley
0240af66cd Fix the video renderer. 2023-03-30 10:44:46 +09:00
Luke Curley
6511bcb55a Merge branch 'main' into webcodecs 2023-03-28 14:59:02 +09:00
Luke Curley
17250fc1a5 temp 2023-03-28 14:58:12 +09:00
Luke Curley
24f3a6dcaf Generate a proper certificate for WebTransport. 2023-03-28 14:40:43 +09:00
Luke Curley
8e1c8d13e2 Decoding and rendering works, with a few bugs of course. 2023-03-28 10:30:35 +09:00
Luke Curley
805f6ca392 Making good progress on WebCodecs. 2023-03-28 07:54:41 +09:00
Luke Curley
cc00a79881 Initial progress on WebCodecs.
I'm on a plane and it's $18 to get Wifi for an hour.
2023-03-26 16:36:40 -07:00
Luke Curley
ff73adc537 Remove the need to use Chrome Canary.
Barely works but getting there.
2023-03-26 12:35:33 -07:00
kixelated
476f0fbce1
Merge pull request #2 from kixelated/abr
Add server-side ABR and throttling (to test)
2023-01-17 10:18:54 -08:00
kixelated
db33755a40
Merge branch 'main' into abr 2022-12-05 16:28:10 -08:00
Luke Curley
3d5015e737 Update to kixel fork. 2022-12-05 16:26:35 -08:00
Luke Curley
f1311a3d26 Upgrade invoker. 2022-12-05 14:07:58 -08:00
Luke Curley
894f26c5af Add support for switching between tracks to the player. 2022-12-05 14:07:31 -08:00
Luke Curley
2608baac33 WIP 2022-11-18 15:13:35 -08:00
kixelated
4c5246e5fa
Merge pull request #1 from matteocontrini/patch-1
Improve readme
2022-11-16 10:57:38 -08:00
kixelated
dd208bf142
Merge branch 'main' into patch-1 2022-11-16 10:56:24 -08:00
Luke Curley
de12598549 Some fixes to the localhost instructions. 2022-11-09 23:03:44 +00:00
Luke Curley
06f1b98082 Initial work on supporting renditions. 2022-11-08 13:18:35 +00:00
Luke Curley
5a8d20c10d Switch over to the oficial quic-go WebTransport package. 2022-11-07 13:39:32 +00:00
Luke Curley
e35278c867 Remove a folder. 2022-11-07 09:31:55 +00:00
Matteo Contrini
8049ecb1a3
Update README.md 2022-07-19 15:05:37 +02:00
Luke Curley
83af764809 Rename client -> player 2022-07-11 12:18:02 -07:00
Luke Curley
abe33e5615 Add a limitations section to the README. 2022-06-30 13:23:33 -07:00