#WebKit and Camera Feeds

1 messages · Page 1 of 1 (latest)

spiral inlet
#

Is there something specific that needs to be done for C920 cameras to show up in an iOS or safari browser? Can’t seem to view the cameras but they show up fine in other desktop browsers and other apps that use APIs.

I have to the YUYV setting to get a usable FPS from the cameras otherwise it’s 0-2 FPS.

Running Ubuntu 22.4.3 on an old desktop pc.

rancid roseBOT
#

Ahoi @spiral inlet!
Welcome to the Mainsail support-forum!
There is a problem with the tags you selected for this post. Please fix them to fit your question.
For further information on tags please check the readme: #readme message

To change the tags of this post:

  1. Open the ... menu on the top right corner of this post.
  2. Find Edit tags
  3. Select the checkbox of the correct tags.

Usually you just need to select one tag!
If you still have no idea which one to choose, feel free to ask here.

Note: This is an automated message

Thanks for your cooperation!

#

Ahoi @spiral inlet!
It looks like you did not provide all the necessary information we need to help you.
Please upload your logfiles and a detailed description of your problem.
For further information see: https://docs.mainsail.xyz/faq/getting-help/discord#provide-information
Note: We only accept .log and .txt files as log files.
This is an automated message

We are glad to help and chat with you on our Community Discord, but if you need help and want the best support possible you should, follow a few simple rules:

spiral inlet
solemn frigate
#

@spiral inlet pls also change the tags...

spiral inlet
solemn frigate
#

#readme

#

this link is also above in the bot message...

spiral inlet
#

Thanks for the lack of help. I had read that before and tagged how I saw appropriate since it’s the mainsail ui that doesn’t display the video from the webcams. Maybe I’ll remove the “Linux” tag to make the bot and you happy? Hoping someone can provide some insight soon to the issue.

solemn frigate
#

which mode do you use in mainsail?

spiral inlet
#

I’m new to this so I’m not exactly sure. I am using the default install of mainsail from the KIAUH script.

solemn frigate
#

you have added each webcam in mainsail?

grand cedar
# spiral inlet Thanks for the lack of help. I had read that before and tagged how I saw appropr...

Thanks for the lack of help
I'm more like the webcam guy here, so yeah, if I'm not there you won't have that much chance for quick help.

Also I would still say, it's only webcam. As you got problems with your webcams.... Also Linux is ofc not suitable otherwise all posts would need the Linux tag, as we are all using Linux. I know no one running Mac or Windows for such a usecase. Both OS are just to bloated.

To your issue now. You have 3 options for your services inside the Mainsail interface settings, where you add your cams.

  1. adaptive mjpg
  2. uv4l mjpg
  3. mjpg
    Try 1 or 3. If those don't work, try maybe a different browser, but that shouldn't help. It's basically a problem between ustreamer and iOS then, most likely only iOS then
#

Also to get the idea of Mainsail has something to do with it out of your head, you should try http://<ip.of.your.host>/webcam/?action=stream to see if you get an image

#

I'm pretty sure you won't get an image then.

spiral inlet
grand cedar
#

Also, you have to understand, we provide this services, for free without getting paid in any way, besides our lovely sponsors ofc. So if you want help from us, please just listen to what we say and follow the things we tell you. As we don't want to get into discussions with someone that doesn't follow our rules.

solemn frigate
spiral inlet
grand cedar
#

Then again, which services do you use?

#

Also which port is Mainsail on?

spiral inlet
# grand cedar Also, you have to understand, we provide this services, for free without getting...

I get that and appreciate yours and others help. It’s just a little off putting when the only reply is to check the tags and no explanation of what to check or maybe what to consider. I truly appreciate the help I just didn’t fully understand the context of each tag and nuances to selecting each one. I had chosen Linux originally since most seem to run on raspberry pi hardware and custom@linux images instead of Ubuntu like I am.

solemn frigate
#

its just "wasting time" from us, to search for posts, where we are the right helper, when all users select as many tags as they can...

grand cedar
#

custom@linux images instead of Ubuntu
Funny view. Ubuntu is only an adaptation of Debian just like the rpi images 😉
But yeah we still need the answer to our last question, what service are you actually using

solemn frigate
#

and please answer our question... then we can help you...

#

without information, there is no help possible...

spiral inlet
solemn frigate
spiral inlet
#

i would love to answer the "service" question but I'm not entirely sure on what to look for since I'm so new to Klipper and Mainsail. I am running what was installed with KIAUH and using crowsnest (if that's what you're looking for). If that is not, can you please direct me to where to find what service you are referring to?

grand cedar
#

Like we said. You added a cam inside mainsail right?

#

Go to that panel again

#

Top right -> cog icon -> webcams and then click on one of the cams

solemn frigate
#

and just post a screenshot of the complete form, then we can check it ourself...

spiral inlet
#

Yes, i have all 3 webcams listed in the settings. They are set to "MJPEG-Streamer" and my crowsnest.conf shows "ustreamer". Within the Edit window for each cam I can see the preview of the camera feed.

#

when i load the mainsail webcam page on iOS it shows white boxes but on my Mac (not safari) it works in Brave. It does not work in safari though.

solemn frigate
spiral inlet
# solemn frigate

Thank you for that info and URL. I had not seen that page when I was trying to configure it based on how others (from other posts) had got their C920 cameras working. I'll give the Adaptive MJPG a try and see if that works how I expect it to.

solemn frigate
grand cedar
#

had got their C920 cameras working
It's not the c920, but iOS. Also a lot of people are using Windows, Android or only their Mac.

spiral inlet
grand cedar
#

And msot people overall use adaptive

spiral inlet
#

I think I had avoided it because of the "experimental" tag that is on it but it seems to be better FPS and actually works on those browsers so I'll keep it

solemn frigate
#

FPS are only a lie...

spiral inlet
#

when i first started configuring the cams after I got klipper running well for my printer, I had issues with the USB bandwidth and was trying all kinds of settings to get it to stream anything from more than one cam. I had to make sure I used the by-path in the crowsnest.conf and was down to a very low res and max FPS to get all 3 to work. I likely changed it to the MJPEG-Streamer at one point to see if that would fix it. Once I plugged all 3 cameras directly into my PC instead of through a USB 2.0 hub (which had worked fine using camera-streamer on a rPi 3b to octoprint) i was able to get all 3 cameras working again but not on iOS. I had missed the comment about the service to use in the documentation.

Thank you to @solemn frigate and @grand cedar for your help and guidance on this. sorry for any frustration i caused as a noob and not understanding what you were asking (and where to look). I'm grateful for your guidance on this.

grand cedar
#

I likely changed it to the MJPEG-Streamer at one point to see if that would fix it
The services inside Mainsail don't have anything to do with your USB bandwidth used. At least if I understood that part correct.

Once I plugged all 3 cameras directly into my PC instead of through a USB 2.0 hub (which had worked fine using camera-streamer on a rPi 3b to octoprint)
I guess you only used one device with it before? 3 cams on one USB 2.0 hub at high res, could be a bit tricky.

spiral inlet
# grand cedar > I likely changed it to the MJPEG-Streamer at one point to see if that would fi...

I actually had all 3 running at the same resolution and it worked fine. I was surprised that when i moved to a HP EliteDesk 800 G3 that it would struggle but it kept coming back with the error (can't remember exact error) about no more storage in the crowsnest.log. Once I lowered the max FPS to 10 and resolution to 640x480 it allowed all 3 cams to work. then i started moving back up to when it would stop. eventually moved all 3 to direct attached to PC and they all worked once I got the path set correctly for each one.