Comments (2)
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-
- Fork our project.
- Move your
App.js
route logic into ourmain.tsx
- Append the routes for publisher or viewer apps which are in the
app.tsx
files - Set up your RTS streaming credentials in VITE (
apps/publisher/.env
andapps/viewer/.env
) env just like what we have done. - 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.
Thanks Shivank. I'll start working on the TypeScript migration and follow your suggestions above.
from rts-app-react-publisher-viewer.
Related Issues (20)
- [P & V] implement Dolby.io WebRTC Statistics library for stream stats HOT 1
- [Ungated Demo] T-2 notification
- Fix multisource badge tests in viewer
- Upgrade RTS SDK in Publisher / Viewer and Create an embedded react component for viewer ( low code solution for developers)
- [Viewer] Viewer stream doesn't load on Safari (both iOS and macOS) HOT 3
- [RTS Viewer] "Stream is not live" label is missing on the "Waiting-Room" page
- RTS Publisher: Publisher is able to add more than 4 sources for streaming, due to this Publisher/Viewer UI is broken
- RTS Viewer: Viewer is not able to show the streaming when streaming is started from Dashboard with default settings HOT 1
- [RTS Viewer] Viewer is not able to show the streaming when streaming is started from Dashboard with multi-source ON and no Source ID HOT 2
- [RTS Viewer] "Internal Server Error" message is shown on viewer app HOT 1
- [Publisher] Update multi-viewer bitrates
- Viewer - respond to resizing events
- Viewer - high level component
- [Publisher/Viewer] Add H.265 playback support on safari
- [Publisher] On safari 13+, allow the user to publish H.265 streams HOT 1
- [Viewer] Investigate media stats when publishing is in H.265
- Publisher - can't seem to select resolution for camera source HOT 1
- [Viewer] βtop info barβ is removed in the player app
- [E2E Test] Fix CI Test Failures
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rts-app-react-publisher-viewer.