-
Notifications
You must be signed in to change notification settings - Fork 78
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
AVIF returned instead of JPEG #277
Comments
There are a few things that are bothering me about this issue atm. |
Ahoi! It looks like this ticket is a request for help (or similar). We use the Github Issue-Tracker only for development related This ticket will be automatically closed. Fair wind and a following sea! PS: I'm just an automated script, not a real sailor. |
@mryel00 Thanks for your quick reply. I think you misread my initial comment, the issue does not occur with ustreamer. It only happens with camerastreamer, sorry not being clear about this. I will ask the user to get in contact because I'm kinda just the middle man. |
Oh yeah I misread it, you are totally right. Sry for that 😅 |
Totally clear, more info is needed. As ustreamer is a viable solution for the user, I'm not sure if they will pursue this. I asked to them to reach out on discord and provide the required information. My primary goal was to have this documented, thus the issue :) |
What happened
I'm the dev of OctoApp 👋
A user reached out and reported that the app wasn't able to display their webcam, but if ustreamer was used the webcam was visible in the app. We did some digging and found out that in their case crowsnest returns AVIF images from
/stream
and/snapshot
(sample attached). Because iOS doesn't natively support AVIF, the stream can't be shown in the app.Opening the snapshot with a text editor reveals the AVIF header:
This seems to be linked to the webcam used, a Logitech C615, as I can't reproduce the behavior on my end using a C920 and the same v4.1.9-1-gd75a3aeb version of crowsnest.
There is nothing in the config used specifying AVIF to be used:
What did you expect to happen
crowsnest should always return JPEG images to guarantee compatibility with all clients. AVIF should be opt-in.
How to reproduce
Unclear, seems to be dependent on the C615 camera.
Additional information
Here is a image obtained from
/snapshot
, which is in AVIF format. Most browsers can display it.This is a cURL capture of the stream:
stream.bin.zip
The text was updated successfully, but these errors were encountered: