webrtc: notify track startup failure

This commit is contained in:
Koushik Dutta
2023-07-04 23:52:19 -07:00
parent 488d68ee1c
commit 106fef95b4
3 changed files with 4 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/webrtc",
"version": "0.1.55",
"version": "0.1.56",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/webrtc",
"version": "0.1.55",
"version": "0.1.56",
"dependencies": {
"@scrypted/common": "file:../../common",
"@scrypted/sdk": "file:../../sdk",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/webrtc",
"version": "0.1.55",
"version": "0.1.56",
"scripts": {
"scrypted-setup-project": "scrypted-setup-project",
"prescrypted-setup-project": "scrypted-package-json",

View File

@@ -569,7 +569,7 @@ export class WebRTCConnectionManagement implements RTCConnectionManagement {
}
catch (e) {
this.console.error('Error starting playback for WebRTC track.', e);
// todo: report this to the client somehow.
ret.cleanup(false);
}
});