Giter VIP home page Giter VIP logo

Comments (2)

dubeyShivank avatar dubeyShivank commented on August 15, 2024

Hi there,

Thanks for reaching out. I've gone through your code and based on that, I can suggest you the following. I think this is the easiest option I have for you, which will allow you to progress on and embed the publisher and viewer into your own app. We do use typeScript so you might have to use it as well, unfortunately.

Here are the steps-

  1. Fork our project.
  2. Move your App.js route logic into our main.tsx
  3. Append the routes for publisher or viewer apps which are in the app.tsx files
  4. Set up your RTS streaming credentials in VITE (apps/publisher/.env and apps/viewer/.env) env just like what we have done.
  5. Re-instate your remaining code.

Let us know how it goes and if you're stuck on anything else.

from rts-app-react-publisher-viewer.

nwoodsie avatar nwoodsie commented on August 15, 2024

Thanks Shivank. I'll start working on the TypeScript migration and follow your suggestions above.

from rts-app-react-publisher-viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.