• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

[Q] Is it possible to Lightroom can connect WebSocket server on localhost?

Contributor ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

Hi all,

I have current running WebSocket server on localhost.

I'd like to make Lightroom plugin that connect the server.

My understanding is following.

     * Lightroom modules cannot add third party code like LuaRocks installation.

     * Lightroom 6/CC has LrSocket and LrHttp.

Is that possible to implement WebSocket client on top or LrSocket or any other way?

Thank you,

Naoki

TOPICS
SDK

Views

600

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 27, 2017 Sep 27, 2017

Copy link to clipboard

Copied

     * Lightroom modules cannot add third party code like LuaRocks installation.

You can include third-party source as long as you convert it to Lua 5.1 (if necessary) and the restricted Lua environment provided by LR (see the Lightroom SDK Guide for the restrictions).

     * Lightroom 6/CC has LrSocket and LrHttp.

Is that possible to implement WebSocket client on top or LrSocket

My brief skimming of WebSocket is that it is a bidirectional, non-HTTP protocol (that starts with an HTTP handshake).  Unfortunately, each instance of LrSocket is one-way (send or receive).  So I don't see how it could be used to implement WebSocket.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

LATEST

johnrellis, thank you very much for your input. I think similar way but still look for solutions.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines