Created
February 2, 2022 13:38
-
-
Save themusicman/58908ebdf708c4dc8118cee23ff71fde to your computer and use it in GitHub Desktop.
TokBox streamDestroyed event
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "streamDestroyed", | |
"cancelable": true, | |
"_defaultPrevented": false, | |
"stream": { | |
"id": "7e24f084-d971-46d6-936d-ced2ba4e2817", | |
"streamId": "7e24f084-d971-46d6-936d-ced2ba4e2817", | |
"name": "", | |
"creationTime": 1643809018166, | |
"connection": { | |
"id": "d75a43e3-ba0b-4e0e-ba29-23b79c5e63be", | |
"connectionId": "d75a43e3-ba0b-4e0e-ba29-23b79c5e63be", | |
"creationTime": 1643809017729, | |
"data": null, | |
"capabilities": { | |
"supportsWebRTC": true | |
}, | |
"permissions": { | |
"publish": 1, | |
"subscribe": 1, | |
"forceUnpublish": 1, | |
"forceDisconnect": 1, | |
"forceMute": 1, | |
"supportsWebRTC": 1 | |
}, | |
"quality": null | |
}, | |
"channel": [ | |
{ | |
"id": "video1", | |
"type": "video", | |
"active": true, | |
"orientation": 0, | |
"width": 640, | |
"height": 480, | |
"source": "camera", | |
"fitMode": "contain" | |
}, | |
{ | |
"id": "audio1", | |
"type": "audio", | |
"active": true, | |
"orientation": -1, | |
"width": -1, | |
"height": -1, | |
"source": "camera", | |
"fitMode": "cover" | |
} | |
], | |
"publisher": { | |
"_": {}, | |
"isWebRTC": true, | |
"accessAllowed": true, | |
"id": null, | |
"element": {}, | |
"session": null, | |
"streamId": "7e24f084-d971-46d6-936d-ced2ba4e2817", | |
"stream": null | |
}, | |
"hasAudio": true, | |
"hasVideo": true, | |
"videoType": "camera", | |
"defaultFitMode": "contain", | |
"videoDimensions": { | |
"width": 640, | |
"height": 480, | |
"orientation": 0 | |
}, | |
"destroyed": true, | |
"destroyedReason": "clientDisconnected", | |
"_": {} | |
}, | |
"reason": "reset", | |
"target": { | |
"_": {}, | |
"isWebRTC": true, | |
"accessAllowed": true, | |
"id": null, | |
"element": {}, | |
"session": null, | |
"streamId": "7e24f084-d971-46d6-936d-ced2ba4e2817", | |
"stream": null | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment