Skip to content
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

insert image to video #4

Closed
VictorTao1998 opened this issue Aug 16, 2020 · 3 comments
Closed

insert image to video #4

VictorTao1998 opened this issue Aug 16, 2020 · 3 comments

Comments

@VictorTao1998
Copy link

Hi dev team,
I was trying your eyeson Ruby Quickstart Tutorial demo (the one that uses sinatra and heroku) and I am new to ruby language. I would like to insert image to video cell, but I don't know when should I use Eyeson::Layer.create() function. I have tried to append this function after Eyeson::Room.join and store the access_key as global variable, but nothing happened. Thank you for any help.

@unused
Copy link
Contributor

unused commented Aug 17, 2020

Hi Victor, the quick start demo is a very easy one, to set an image on start you might need to wait for the room to be ready which requires background workers or a trigger on webhook receive. However to test the feature I'd recommend to use curl and the snippet provided in the API documentation section:

$ curl -X POST \
  -d "url=https://eyeson-team.github.io/api/images/eyeson-overlay.png" \
  "https://api.eyeson.team/rooms/${ACCESS_KEY}/layers"

@unused unused closed this as completed Aug 17, 2020
@VictorTao1998
Copy link
Author

Thank you, I have another question, when I try to broadcast the meeting using curl, there is an error saying that "Broadcast feature is not available for this room".

@unused
Copy link
Contributor

unused commented Aug 18, 2020

That does not sound as if you are receiving this message from our API services. Can you try to use the platform identifier "generic" (which is also ok to use with youtube or facebook) and double-check you set the proper RTMP values.

@unused unused reopened this Aug 18, 2020
@unused unused closed this as completed Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants