-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ts-sdk] Make react sdk run on browser #776
Conversation
d0b04a1
to
02c0d0a
Compare
02c0d0a
to
a08beaa
Compare
@@ -2,7 +2,8 @@ import * as Api from '../api'; | |||
|
|||
export type RegisterInput = | |||
| ({ type: 'rtp_stream' } & RegisterRtpInput) | |||
| ({ type: 'mp4' } & RegisterMp4Input); | |||
| ({ type: 'mp4' } & RegisterMp4Input) | |||
| { type: 'bytes' }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bytes is not a valid type, I assume this will be raw frames? in that case frames
or raw_frames
, frame_bytes
What about audio? Is this video only input?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, it's only video input
295d574
to
f6471eb
Compare
84100bb
to
bc13cb0
Compare
bc6a7e6
to
0ad79e0
Compare
5669878
to
bbd5018
Compare
bbd5018
to
2b07d55
Compare
This PR adds bare minimum to make the wasm compositor work with our react sdk. It implements simple queue, mp4 input and canvas output. Not everything is fully implemented (i.e. Input state notifications) but I want to get the feedback early before proceeding further.