Guest View of a Single Camera

Discussion in 'Customizing' started by nick.s, Jun 6, 2018.

Share This Page

  1. nick.s

    nick.s n3wb

    Joined:
    May 14, 2018
    Messages:
    8
    Likes Received:
    2
    I'm trying to stretch my mileage out of bI to fit a request of my boss. He would like to find a solution to allow a guest viewer to see a camera in our pre-press department for proofing needs without having to install a custom camera driver on the visitor's computer. The future camera will be PTZ so I was thinking to use the BI interface and create a guest account. However, the guest will change weekly and it would be easier to have BI via an iFrame with an ACL controlling the actual web page.

    Is this something that should be done via API on a custom page or is there a way to link to a single camera that includes the wonderful PTZ controls? I've already tried the /mjpg/{cam name}/video.mjpg route and while it shows the picture, there is no control.

    Any ideas on the best way to approach this? Thanks
     
  2. crw030

    crw030 Getting comfortable

    Joined:
    Apr 26, 2016
    Messages:
    465
    Likes Received:
    234
    Location:
    Colorado
    If you don't need it to be secure, what about combining "insecure login" (see here: Embed credentials on Blue Iris Web Server URL) with a printed QR code that contains the url and parameters?

    You could change it as frequently as you were willing to print out a fresh code and change pwd on BI machine.

    Then setup camera group, and give this user access during times that make sense (covered here: Restricted user and profiles)
     
  3. TonyR

    TonyR IPCT Contributor

    Joined:
    Jul 15, 2014
    Messages:
    3,194
    Likes Received:
    2,908
    Location:
    Alabama
    You could use BI's built-in UI3 web server.
    Create a user like 'guest'; you can change password quickly and easily.
    Limit the guest's access to a schedule, a specific camera / camera group, PTZ, audio, even limit login time and bandwidth.
    Have custom HTML 'Homepage' launched when the user logs in successfully (locate that page in BI's 'www' folder).
    The guest URL would be:
    Local (LAN):
    Code:
    http://Blue-Iris_LAN-IP:port
    Remote (WAN):
    Code:
    http://Blue-Iris_WAN-IP:port
    BI_guest.jpg
     
    Last edited: Jun 6, 2018
    Cameraguy, crw030, Mike and 2 others like this.
  4. nick.s

    nick.s n3wb

    Joined:
    May 14, 2018
    Messages:
    8
    Likes Received:
    2
    What special code is needed for the unique homepage to show PTZ and nothing else, or is that even possible?
     
  5. TonyR

    TonyR IPCT Contributor

    Joined:
    Jul 15, 2014
    Messages:
    3,194
    Likes Received:
    2,908
    Location:
    Alabama
    I'm working on it as we speak, been at the doc's all morning. I have PTZ only with live view, gotta get rid of presets, IR control, etc.
    Perhaps tomorrow?
     
  6. nick.s

    nick.s n3wb

    Joined:
    May 14, 2018
    Messages:
    8
    Likes Received:
    2
    You didn't have to go and write the code, I was simply curious as finding documentation on specifics is scarce. Our need is PTZ with Live View only. Thank you so much for the help. We don't even have the camera figured out yet as I'm in the research stage to find the easiest solution and your suggestion sounds like the best solution.
     
  7. TonyR

    TonyR IPCT Contributor

    Joined:
    Jul 15, 2014
    Messages:
    3,194
    Likes Received:
    2,908
    Location:
    Alabama
    I'm not much of a coder, but I can modify someone else's great work to suit. The credit goes to them...and it's not a bother, it's my version of Word Jumble and crossword puzzles...brain fodder to keep my mind from turning to mush (an uphill battle, I must add). :rolleyes:

    EDIT: I sent the files via PM this morning (Sat. 6/9 about 0900 CT); holler back if nothing arrived, etc.
     
    Last edited: Jun 9, 2018
    looney2ns, gwminor48 and nick.s like this.