-
Notifications
You must be signed in to change notification settings - Fork 65
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
Adding ios to existing http stf #78
Comments
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details. |
I managed to get the device detected by the existing STF server by editing the coordinator source code and changing all https and wss to http and ws respectively and using quicktime to enable the video streaming. I also had to set the allow remote devices and provider ports in the server startup command. I do not get any errors in the provide/coordinator but opening the device in STF i get no video. In chrome developer tools i get a websocket error: Any clues? I am not sure if this is a general issue I am having or if I should just give up and generate self signed certificates.The existing server is restricted to local traffic and I was hoping to avoid risking the existing server access |
There have been numerous tickets asking to support using stf_ios_support with plain http STF server. Initially I entertained these tickets and helped users through the necessary tweaks to make it work. After MUCH back and forth with many users trying to explain how it works I gave up. It is a pointless use of time and effort. It can be changed to make it work with http. It requires tweaking the code in a few places. Feel free to dredge through the closed tickets about this. Currently I'm not going to exert any effort to help plain http attempts besides tell this. Eventually I will add support for this myself by way of a configuration flag. I don't think anyone should ever use plain http though, so I'm not going out of my way to do it. It is at the bottom of the priority list of things to do. I do agree that it is irritating to have to switch to https to get IOS support working if you already have plain http STF server deployed / working. That raises the priority of supporting it, and is why I spent much time and effort helping others try to get it working before. Not supporting it right now. It will happen in future. Probably 4 months from now or so. I'll leave this ticket open for now. Feel free to add in links to the other tickets I already closed about this. In the short term I need to add this into the main wiki so that users aren't confused and wondering why plain http doesn't work or seem to be supported in any way. |
thank you. This makes sense I will look through the tickets to see if anyone has encountered a similar issue with their video being blank whilst the provider displays no errors. If I work it out I will look to document the required changes and consider submitting a PR for making it switchable |
Thank you for raising the issue again despite my attempts to silence the calls for http support. Whatever my personal misgivings for it, there is sufficient demand for plain http support and it should be added in because of that. To help out with your current attempt to make it work, this is what needs to be done off the top of my head to make it work:
What has tripped up most users attempting this is getting the ports to all match up as well as having the proper path to get matched by the nginx proxy. A lot of users also are hesitant and/or don't want to alter the golang code ( which is understandable ) To test everything working I'd recommend the following:
|
If you are able to make a PR for it I am happy to review / accept it / tweak to ensure it is good. What should be done:
It seems simple, but for whatever reason has eluded a wide variety of different users attempting it. |
small note, even if somebody use http, nginx still can be used as front and proxy_pass to https, then all mixing will hide behind it and browser will be happy. |
I have an existing stf device farm running on linux for Android devices. I am attempting to add ios devices using a Mac Mini. I appreciate that the instructions say none-ssl is possible but not supported so I have attempted to modify the coordinator file to use the port and IP of my existing device farm
`package main
import (
"fmt"
"os"
"strings"
log "github.com/sirupsen/logrus"
)
func proc_stf_provider( o ProcOptions, curIP string ) {
o.binary = o.config.BinPaths.IosVideoStream
}`
Whilst there might not be any answers about plain HTTP I could do with some guidance on the following questions:
Thank you
The text was updated successfully, but these errors were encountered: