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

Default image when there is no input #22

Open
risingblock opened this issue Feb 27, 2023 · 4 comments
Open

Default image when there is no input #22

risingblock opened this issue Feb 27, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@risingblock
Copy link

risingblock commented Feb 27, 2023

Hi,

Is there a way to set a default image when the sender app is not open?

For example, this is what OBS default virtual camera placeholder image is:
image

Thanks for all your hard work.

@risingblock risingblock changed the title Default image when sender is not open Default image when there is no input Feb 28, 2023
@tshino
Copy link
Owner

tshino commented Feb 28, 2023

Unfortunately, there is not currently.
Technically, it should be possible. Let me think about adding such a feature to Softcam.

Thank you for your request!

@tshino tshino added the enhancement New feature or request label Mar 6, 2023
@tshino
Copy link
Owner

tshino commented Mar 6, 2023

  • Test with minimum implementation
  • Implement providing a fixed image when no upstream
  • Implement loading an image file
  • Test
  • Update documents

@tshino
Copy link
Owner

tshino commented Mar 7, 2023

As a first step, I confirmed with a minimum implementation that it's possible! It works.

@tshino
Copy link
Owner

tshino commented May 30, 2023

If a default image is provided to a client app and a valid server becomes available after that, it is required to switch the image to provide to the client from the default image to the image from the server.

I found a big limitation in that scenario.
The client app may not accept changing the dimension of the image because it may check the dimension only once when the connection establishes.
So the dimensions of the default image and the images from the server should be equal. Otherwise, something unexpected can happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants