-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: User stories implementation with e2e test cases #899
base: main
Are you sure you want to change the base?
Conversation
|
9d51914
to
ca9dfce
Compare
* Task namespace with new interface * taskworker include * extend task from applyeventlisteners * base namespace class to handle the listen method * topic attach to event name * type update * remove older Task api * refactor and e2e test case * Voice API with new interface * handle call.playback listeners with all the methods * run workers through methods * playback events with e2e test cases * remove old call playback class * fix test file names * improve playback tests * rename voice playback tests * voice call record events with e2e test cases * fix playback and record types * implement call.prompt with playback * test utility add * e2e test cases for call prompt * call collect with e2e test cases * Call tap with e2e test cases * Call Detect API with e2e test cases * remove old voice detect test * voice call connect api * update voice pass test with new interface * improve base and listener class for instances * include unit test cases for call apis * voice stack test update * call connect implement with e2e test case * enable ws logs for task test * update voice playground with the new interface * minimize race condition in playback and recording e2e test cases * minimize race condition for collect and detect e2e * improve call state events logic * fix voice unit test * enable ws logs for voice test * fix call connect bug * remove unused voice calling worker * enable ws logs for voice call collect * improve collect and detect e2e test cases * include changeset * Update packages/realtime-api/src/BaseNamespace.ts Co-authored-by: Edoardo Gallo <edoardo@signalwire.com> * Update packages/realtime-api/src/ListenSubscriber.ts Co-authored-by: Edoardo Gallo <edoardo@signalwire.com> * Update packages/realtime-api/src/task/Task.ts Co-authored-by: Edoardo Gallo <edoardo@signalwire.com> * add addToListenerMap method for consistency * Revert "Update packages/realtime-api/src/ListenSubscriber.ts" This reverts commit 69df536. * update payload set and extends base calls with EventEmitter * protect event emitter methods * improve call collect test * improve voice record e2e test --------- Co-authored-by: Edoardo Gallo <edoardo@signalwire.com>
* Task namespace with new interface * taskworker include * extend task from applyeventlisteners * base namespace class to handle the listen method * topic attach to event name * type update * remove older Task api * refactor and e2e test case * Voice API with new interface * handle call.playback listeners with all the methods * run workers through methods * playback events with e2e test cases * remove old call playback class * fix test file names * improve playback tests * rename voice playback tests * voice call record events with e2e test cases * fix playback and record types * implement call.prompt with playback * e2e test cases for call prompt * Call tap with e2e test cases * Call Detect API with e2e test cases * improve base and listener class for instances * call connect implement with e2e test case * improve call state events logic * update payload set and extends base calls with EventEmitter * protect event emitter methods * Messaging namespace with new interface * message worker to handle the events * handle events through messaging api * fix typescript types * e2e test case for messagin api * fix stack test * unit test for messaging api * include changeset * promisify client disconnect * fix unit test cases * fix disconnect emitter * fix unit test * rebased with the dev * fix base name space class * connect payload fallback * Update internal/playground-realtime-api/src/voice/index.ts Co-authored-by: Edoardo Gallo <edoardo@signalwire.com> --------- Co-authored-by: Edoardo Gallo <edoardo@signalwire.com>
* Decorated promise for Voice Call APIs * decorate recording promise * unit tests for decorated playback and recording promises * decorate prompt promise * generic decorate promise function * decorated promise for detect and tap * decorated call collect api promise * more unit test cases * generic decorate promise function with unit tests * e2e test cases update * update voice playgrounds * include changeset * prevent methods to be run if the action has ended * promisify action ended properties
* Realtime Video SDK with new interface * room session with the new interface * remove auto subscribe consumer * fix unit tests for video and room session * room member instance * unit tests for room session member * fix stack test * room session playback realtime-api instance * room session recording realtime-api instance * room session stream realtime-api instance * explicit methods for the realtime-api * fix build issue * separate workers for playback, recording and stream * video playground with the new interface * decorated promise for room session playback api * decorated promise for room session recording api * decorated promise for room session stream api * fix unit test cases * unit tests for decorated promises * update video play ground with decorated promise * fix e2e test case for the video * fix unit test * do not unsubscribe events * fix unit test * include changeset * streaming getter for room session * rename types
This reverts commit 94eaa7c.
4a76ca0
to
d6b349e
Compare
Description
User stories:
ref: https://github.com/signalwire/cloud-support/issues/3158
Type of change
Code snippets
In case of new feature or breaking changes, please include code snippets.