Comments (2)
Just quick check, can you reproduce the same on
https://webdemo.agora.io/agora-websdk-api-example-4.x/shareTheScreen/index.html
Per my side remote side will see stream disappear immediately
from agorawebsdk-ng.
I couldn't get a reproduction on my end X (
It works fine from the link above...
Log of the side that pressed stop.
23:06:42:503 Agora-SDK [DEBUG]: [track-track-7eba60bc] stop video playback
23:06:42:527 Agora-SDK [DEBUG]: [track-7eba60bc] close
23:06:42:528 Agora-SDK [DEBUG]: [track-30d68695] stop audio playback
23:06:42:528 Agora-SDK [DEBUG]: [track-30d68695] stop audio playback
23:06:42:528 Agora-SDK [DEBUG]: [track-30d68695] close
23:06:42:536 Agora-SDK [INFO]: [client-dbeba] Leaving channel
23:06:42:537 Agora-SDK [DEBUG]: [client-dbeba] reset client
23:06:42:541 Agora-SDK [DEBUG]: [track-7e344544] stop audio playback
23:06:42:549 Agora-SDK [DEBUG]: [track-track-cdc444be] stop video playback
23:06:42:591 Agora-SDK [DEBUG]: [client-dbeba-sub-2] update subscribe options [a: true, v: true] -> [a: false, v: false]
23:06:42:592 Agora-SDK [INFO]: [track-track-7e344544] is destroyed
23:06:42:592 Agora-SDK [DEBUG]: [track-7e344544] stop audio playback
23:06:42:593 Agora-SDK [INFO]: [track-track-cdc444be] is destroyed
23:06:42:594 Agora-SDK [DEBUG]: [lock-client-publish-8] is created.
23:06:42:594 Agora-SDK [DEBUG]: [lock-client-leave-3] is locked, current queue 1.
23:06:42:627 Agora-SDK [INFO]: [client-dbeba] connection state change: CONNECTED -> DISCONNECTING
23:06:42:634 Agora-SDK [DEBUG]: [track-7eba60bc] video-element-status change playing => abort
23:06:42:634 Agora-SDK [DEBUG]: [track-7eba60bc] video-element-status change abort => emptied
23:06:42:636 Agora-SDK [DEBUG]: [track-cdc444be] video-element-status change playing => abort
23:06:42:637 Agora-SDK [DEBUG]: [track-cdc444be] video-element-status change abort => emptied
23:06:42:803 Agora-SDK [DEBUG]: [signal] websocket closed, reason: LEAVE
23:06:42:804 Agora-SDK [INFO]: [client-dbeba] connection state change: DISCONNECTING -> DISCONNECTED
23:06:42:804 Agora-SDK [DEBUG]: [client-dbeba] reset client
23:06:42:805 Agora-SDK [DEBUG]: [lock-client-publish-9] is created.
23:06:42:806 Agora-SDK [INFO]: [client-dbeba] Leaving channel success
23:06:42:806 Agora-SDK [DEBUG]: [lock-client-leave-3] is not locked, current queue 0.
Log of the side where the stop is pressed
23:06:42:800 Agora-SDK [DEBUG]: [client-6069d] stream removed with uid 3273727964
23:06:42:800 Agora-SDK [DEBUG]: [client-6069d-sub-1] update subscribe options [a: true, v: true] -> [a: false, v: false]
23:06:42:801 Agora-SDK [INFO]: [track-track-6dc0ff06] is destroyed
23:06:42:801 Agora-SDK [DEBUG]: [track-6dc0ff06] stop audio playback
23:06:42:803 Agora-SDK [INFO]: [track-track-3b19f5e7] is destroyed
23:06:42:806 Agora-SDK [DEBUG]: [track-track-3b19f5e7] stop video playback
23:06:42:807 Agora-SDK [INFO]: [client-6069d] remote user 3273727964 unpublished audio track
23:06:42:808 Agora-SDK [INFO]: [client-6069d] remote user 3273727964 unpublished video track
23:06:42:808 Agora-SDK [DEBUG]: [client-6069d] user offline 3273727964 reason: Quit
23:06:42:853 Agora-SDK [DEBUG]: [track-3b19f5e7] video-element-status change playing => abort
23:06:42:853 Agora-SDK [DEBUG]: [track-3b19f5e7] video-element-status change abort => emptied
from agorawebsdk-ng.
Related Issues (20)
- If the connection is lost and the token is about to expire after reestablishing the connection agora doesn't fire connection-state-change event HOT 1
- webNG sdk publish和unpublish事件与小程序互通问题 HOT 1
- TO ADD NEW FEATURES HOT 1
- RR HOT 1
- Can't rejoin channel after token has expired HOT 1
- Audio issues in safari browser in MacOS HOT 2
- How can I join/rejoin an ongoing meeting? HOT 1
- TypeError: Cannot assign to read only property '_trust_audio_mute_state_' of object '#<Ho>' HOT 1
- Video goes black while the other side is uploading a file or switch background mode HOT 5
- Sometimes in user-published method I don't receive audio track HOT 14
- can not receive user-published event but see log [remote user xxx published video/audio] HOT 9
- "export 'default' (imported as 'AgoraRTC') was not found in 'agora-rtc-sdk-ng' HOT 11
- If a user for some reason has some network restrictions, then the client keeps on trying to join infinitely. HOT 1
- How to connect native client to web client ? HOT 5
- Unable to connect Web sdk user to native Sdk user HOT 2
- In chrome, if a tab with the stream is inactive for some time the readyState of the media tracks becomes ended and they stop playing HOT 1
- Unable to change the time in AudioVolumeIndicator HOT 1
- subscribe user 2444849064 error TypeError: b is not a function
- React Demo bug HOT 1
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 agorawebsdk-ng.