Comments (6)
We've been considering switching from Twilio. But then you guys (twilio's team) released this app. And it's a game changer. But better to say - it would be. Since we cannot use it "as is" - yep, we have own styling and BE :) Now it appears to be a bit uneasily - trying to sync our repo with your changes. If you release the app as a lib you'll save us (your users) a lot of effort and money. Hope that will happen ASAP and looking forward to it.
from twilio-video-app-react.
Hey @OliBridgman! Excellent question. This is something that we have been discussing here for some time. It's possible that we may release a packaged version of the hooks and components in this app, but it may take us quite some time to get around to it. There aren't any immediate plans to do so.
That said, as we built this app, we tried our best to keep a clear separation between 'application code', and 'platform code'. Application code is specific to this application and its UI. Things like src/state/
and src/components/MenuBar
are specific to this application. This 'application code' handles how things look, how errors are displayed, and how tokens are fetched, among other things.
'Platform code' is code that is application-agnostic. Most of the hooks and src/components/VideoProvider
(for instance) should continue to function just fine if they were dropped right into any React application. It's these 'platform' components and hooks that should work anywhere, and they are the ones that we would include in a package.
If you are interested, there is a way to use this app as a component library, but keep in mind that it is not tested or officially supported:
- In
package.json
, removereact
as a dependency and add it as a peerDependency. - In
tsconfig.json
, remove the"noEmit": true
option. - Run
npx tsc -d
to compile all files to JS
Then, in your own application, you can install this app as a dependency:
npm install -S <path to the app directory>
Now, you can import hooks or components in your own app:
import usePublications from 'twilio-video-app-react/src/hooks/usePublications/usePublications';
Keep in mind, nearly all components must be used within the <VideoProvider>
component.
from twilio-video-app-react.
Looking forward to making this a reality, guys. Your implementation is solid, but that package is gonna save lives, seriously.
from twilio-video-app-react.
+1
from twilio-video-app-react.
I've let our project managers know about the interest in this feature, but at the moment this feature is not on our roadmap - so I'll be closing the issue. We'll continue to look at this thread to gauge additional interest.
Thanks.
from twilio-video-app-react.
Cannot compile it gives error. Unknow compiler options
from twilio-video-app-react.
Related Issues (20)
- twilio-video upgrade HOT 1
- Second participant audio is not playing on first participant screen HOT 2
- WhiteBoard Feature HOT 2
- waiting room HOT 1
- document and present Capability HOT 1
- token generation failed overall but also succeeded intermittently. HOT 1
- Screen sharing audio capabilities and the ability to see your own shared content. HOT 1
- Error when attempting to build local server HOT 1
- The request body is undefined unless we add bodyParser or express.json
- Camera light remains open once user disconnects from the room HOT 6
- Using WebAudio - AudioWorkletProcessors to process Audio Data
- Transcribing calls
- Upgrade security of the app with a token from our server. Passcode gets in the way when the app is deployed. HOT 1
- what is the use of web sockets
- Passcode starting with number '0' causes a bad passcode error.
- A thumbs up appears in the middle of the screen... HOT 1
- Mac OS Safari Screen Sharing performance degrades during recording
- Refactoring of code smells
- can anyone tell me what is the issue in me code
- Download the attachement added in the chat
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 twilio-video-app-react.