roman-yerin / vertojs Goto Github PK
View Code? Open in Web Editor NEWTypescript FreeSWITCH verto interface
Typescript FreeSWITCH verto interface
Hi. Got an error with angular 8 after npm install vertojs
and imported in a component import { Verto } from 'vertojs';
ERROR in ./node_modules/vertojs/src/index.ts Module build failed (from ./node_modules/@ngtools/webpack/src/index.js): Error: ...\node_modules\vertojs\src\index.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property. The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv). at AngularCompilerPlugin.getCompiledFile (...node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:913:23) at plugin.done.then (...node_modules\@ngtools\webpack\src\loader.js:41:31) at process._tickCallback (internal/process/next_tick.js:68:7)
my project tsconfig.json
{ "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "downlevelIteration": true, "importHelpers": true, "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "module": "esnext", "moduleResolution": "node", "emitDecoratorMetadata": true, "experimentalDecorators": true, "target": "es2015", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2018", "dom" ] } }
i tried to make some changes with include key but was not succeed
I have tried making calls with vertojs, but there is no transferring call.
Is transferring call available? Thanks
Love the library, what do you think about exposing RTCPeerConnection so we are able to get metrics about the connection with getStats()?
A lot verto communication with code and client is via user variables. Does your library support it?
When I make outbound call, microphone icon stays active when call is hangup.
On track event I am using code from demo:
let stream = new MediaStream()
stream.addTrack(track)
It adds additional track to stream although that track is initialized upon call:
let call = verto.call(stream.getTracks()......
If I put stream to a class variable, I can loop through tracks of stream variable and call stop() on bye event. Then the microphone is not active anymore on the browser tab.
Is this by design? My thoughts are that after call, the microphone icon shouldn't be active.
If I use library from src everything is working, but if I use it from dist, I get this error... Can you please advise?
Hi, thanks for this package. I was wondering if its possible to use this package with React Native. I need to build a video chat application that connects to a Verto Backend. And I haven't found a useful react native Verto package yet. Any pointers as to how to go about using your package for react native. Thanks.
Sorry for bothering, but I would really like to test and contribute to this library.
When I make a call it always waits till iceTimerTriggered is triggered (parameter iceTimeout). onIceGatheringStateChange never gets to complete. Do you have any idea why rtc doesn't complete ice gathering state?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.