-
Notifications
You must be signed in to change notification settings - Fork 2
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
Common endpoint to upload videos #16
Comments
@komal-sai-yral I noticed that we are also emitting |
ya makes sense. Can be fired from client to offchain GRPC API. Although these are less priority events for the video upload pipleline. Just needed for analytics. The only important event that triggers the video processing pipeline is video_upload_successful |
@sarvesh-sharma-yral do we have setup to fire events from iOS? |
@sarvesh-sharma-yral also note that the event GRPC API is an authenticated call to offchain requiring an API key. Not sure its possible for sending the event directly from client device. Might have to plan accordingly. Does it need to be authenticated is another debate |
We don't have a setup to fire events from client side yet |
if that's the case then we can skip the events that needs to be fired on client side for now. There is no option. |
@sarvesh-sharma-yral @komal-sai-yral is it possible to send events directly to google instead of routing it through offchain? |
do you mean google analytics? |
@ravi-sawlani-yral, we would need to keep description and hashtags as optional fields. User should be able to upload video without having to add these details |
@sarvesh-sharma-yral Please have a look at the proposed architecture and ensure its compatibility with the proposed iOS app front. |
@sarvesh-sharma-yral upload design flow might change due to this architecture. We might need to add a toast that video would be uploaded soon. |
just wanted to confirm, clients are going to interact with streams directly? Don't think we'd need a toast, basis the figma designs. |
@sarvesh-sharma-yral I am not sure how would you show the progress bar as the client is never informed about the final upload. It would happen in the background. |
Not directly as such. Backend would give you the url where you can upload the video which would start as soon as the client selects the video but that should not be communicated to client. When they press upload you send the rest of the metadata to endpoint and will rely on backend to make that video available eventually. |
@harshita-srivastava-yral as far as I can see the design needs to be modified. |
Is it going to be a cfstream url or a custom url? |
Why? |
|
|
|
|
|
|
Motivation
We send multiple events during video upload like
video_upload_unsuccessful
andvideo_upload_successful
and we do have multiple clients that uploads video Youtube video importer, IOS app, leptos-frontend. The idea was to have a common endpoint that could upload the video to canister and also emit these events correctly.Suggested Solution
The text was updated successfully, but these errors were encountered: