Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 897a924

Browse files
jianjunztaste1981
authored andcommitted
The ended event may not be fired on Safari after calling (#300)
Publication.stop(). Fix #276.
1 parent a12ba8f commit 897a924

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sdk/base/publication.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export class PublicationSettings {
107107
* @memberOf Owt.Base
108108
* @classDesc Publication represents a sender for publishing a stream. It
109109
* handles the actions on a LocalStream published to a conference.
110+
*
110111
* Events:
111112
*
112113
* | Event Name | Argument Type | Fired when |
@@ -116,6 +117,8 @@ export class PublicationSettings {
116117
* | mute | MuteEvent | Publication is muted. Client stopped sending audio and/or video data to remote endpoint. |
117118
* | unmute | MuteEvent | Publication is unmuted. Client continued sending audio and/or video data to remote endpoint. |
118119
*
120+
* `ended` event may not be fired on Safari after calling `Publication.stop()`.
121+
*
119122
* @hideconstructor
120123
*/
121124
export class Publication extends EventDispatcher {

0 commit comments

Comments
 (0)