File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -507,6 +507,28 @@ test.skip('fork audio', (t) => {
507507 . then ( ( evt ) => {
508508 return ep . forkAudioStop ( ) ;
509509 } )
510+ // pause, resume
511+ . then ( ( ) => {
512+ t . pass ( 'stopped forking audio with no metadata' ) ;
513+ return ep . forkAudioStart ( {
514+ wsUrl : 'ws://ws-server:3001' ,
515+ mixType : 'stereo' ,
516+ sampling : '16000'
517+ } ) ;
518+ } )
519+ . then ( ( ) => {
520+ t . pass ( 'started forking audio with no metadata' ) ;
521+ return uac . playFile ( 'voicemail/16000/vm-record_message.wav' ) ;
522+ } )
523+ . then ( ( evt ) => {
524+ return ep . forkAudioPause ( true ) ;
525+ } )
526+ . then ( ( evt ) => {
527+ return ep . forkAudioResume ( ) ;
528+ } )
529+ . then ( ( evt ) => {
530+ return ep . forkAudioStop ( ) ;
531+ } )
510532 . then ( ( ) => {
511533 t . pass ( 'stopped forking audio with no metadata' ) ;
512534 return ;
You can’t perform that action at this time.
0 commit comments