pipedream icon indicating copy to clipboard operation
pipedream copied to clipboard

livekit

Open pipedream-component-development opened this issue 6 months ago • 8 comments

livekit

URLs

  • https://docs.livekit.io/home/
  • https://github.com/livekit/node-sdks/tree/main/packages/livekit-server-sdk
  • https://docs.livekit.io/home/server/webhooks/

Webhook Sources

new-room-event-instant

Prompt

Emit new event for LiveKit room activities via webhook.

Actions

generate-access-token

Prompt

Generate an access token for a participant to join a LiveKit room.

remove-participants

Prompt

Remove specific participants from a LiveKit room.

A base integration for LiveKit has been released, feel free to check it out.

sergio-eliot-rodriguez avatar May 23 '25 00:05 sergio-eliot-rodriguez

User request

sergio-eliot-rodriguez avatar May 23 '25 00:05 sergio-eliot-rodriguez

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information https://vunguyenhung.notion.site/livekit-201bf548bb5e81908c58f6deb30cf0e1

vunguyenhung avatar May 29 '25 01:05 vunguyenhung

Hi @vunguyenhung

The following tests were made with my own account however I also tested with Sergio's account in 1Pass as you pointed out in the comment above and they all worked as expected!

Create Room - Failed

what version are you using? it should be 0.0.2

I couldn't reproduce your error in the new version:

Image

Create Ingress From Url - Failed

Same here, I cloudn't reproduce the issue. Version should be 0.0.2

Image

Delete Room - Failed

Same here, I cloudn't reproduce the issue. Version should be 0.0.2 Image

List Rooms - Failed

Same here, I cloudn't reproduce the issue. Version should be 0.0.2 Image

Generate Access Token - Failed

Same here, I cloudn't reproduce the issue.

Image Image

Remove Participants - Failed

Same here, I cloudn't reproduce the issue.

Image

jcortes avatar May 29 '25 16:05 jcortes

Hey @jcortes, thank you for your information.

I believe the issue is that the component code expects the Project URL to have the protocol, hence, they only work when the user input the Project URL such as https://pipedream-dev-dlkmox1w.livekit.cloud.

But in the popup connection here, we instructed the user to input the URL (without the protocol), hence, resulted in the error in my test report Image

Next actions:

  • Could you update your component code to append the https:// protocol to the url if it isn't there?

vunguyenhung avatar May 30 '25 00:05 vunguyenhung

Hey @jcortes, thank you for your information.

I believe the issue is that the component code expects the Project URL to have the protocol, hence, they only work when the user input the Project URL such as https://pipedream-dev-dlkmox1w.livekit.cloud.

But in the popup connection here, we instructed the user to input the URL (without the protocol), hence, resulted in the error in my test report Image

Next actions:

  • Could you update your component code to append the https:// protocol to the url if it isn't there?

Hi @vunguyenhung that's a different URL, in this case it could be the URL of a video you can take a look at the javascript example here https://docs.livekit.io/home/ingress/overview/#url-input-example

jcortes avatar May 30 '25 02:05 jcortes

Hello everyone, I have tested this PR and there're some test cases failed or needed improvement.

Please check the test report below for more information https://vunguyenhung.notion.site/livekit-201bf548bb5e81908c58f6deb30cf0e1

vunguyenhung avatar May 30 '25 03:05 vunguyenhung

Hi @vunguyenhung

Delete Room - Failed

I don't think this is an error because you are not even listing the rooms to delete, maybe you need to click on Refresh!

New Room Event Instant - Failed

Can you share the payload and the way you are triggering the event please?

jcortes avatar May 30 '25 14:05 jcortes

Hi @jcortes, I'll check again this ticket today

vunguyenhung avatar Jun 02 '25 03:06 vunguyenhung

Hi everyone, all test cases are passed! Ready for release!

Test report https://vunguyenhung.notion.site/livekit-201bf548bb5e81908c58f6deb30cf0e1

vunguyenhung avatar Jun 03 '25 00:06 vunguyenhung