genesys-cloud-streaming-client 19.2.3-develop.142 → 19.2.3-develop.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -15
- package/dist/cjs/stanza-definitions/webrtc-signaling.js +2 -1
- package/dist/cjs/webrtc.d.ts +1 -0
- package/dist/cjs/webrtc.js +7 -0
- package/dist/deploy-info.json +4 -7
- package/dist/es/index.bundle.js +9 -1
- package/dist/es/stanza-definitions/webrtc-signaling.js +2 -1
- package/dist/es/webrtc.d.ts +1 -0
- package/dist/es/webrtc.js +7 -0
- package/dist/manifest.json +13 -0
- package/dist/npm/CHANGELOG.md +5 -0
- package/dist/npm/stanza-definitions/webrtc-signaling.js +2 -1
- package/dist/npm/webrtc.d.ts +1 -0
- package/dist/npm/webrtc.js +7 -0
- package/dist/streaming-client.browser.js +1 -1
- package/dist/v19/streaming-client.browser.js +1 -1
- package/dist/v19.2.3/streaming-client.browser.js +1 -1
- package/package.json +117 -119
- package/LICENSE +0 -21
package/README.md
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
# Genesys Cloud Streaming Client #
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Client library for streaming-service
|
|
3
|
+
This project is a Bitbucket repository that contains the pipeline infrastructure for the open source [Genesys Cloud Streaming Client](https://github.com/purecloudlabs/genesys-cloud-streaming-client) hosted on GitHub.
|
|
5
4
|
|
|
6
|
-
###
|
|
7
|
-
Run `npm install` in order to install all the dependencies
|
|
5
|
+
### What is this repository for?
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
Run the tests using `npm test` in the command line
|
|
7
|
+
Current guidance from security and the CI/CD teams is to not have the pipeline infrastructure available in open source repositories. This repository is used to host the pipeline infrastructure for the Genesys Cloud Streaming Client so that we may retain access to the CDN and ability to publish to NPM.
|
|
11
8
|
|
|
12
|
-
|
|
9
|
+
### Contributions
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
* Leave all source code in the GitHub repository.
|
|
12
|
+
* Only pipeline infrastructure should be in this repository.
|
|
16
13
|
|
|
17
|
-
###
|
|
18
|
-
semistandard has been added and you can run linting through the command line via `npm run lint` script
|
|
14
|
+
### Who do I talk to?
|
|
19
15
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
**If you can configure you editor to run linting while typing or on save this is preferrable**
|
|
16
|
+
* gcmediastreamsignal@genesys.com
|
|
17
|
+
* Client Signaling and Streaming Team (STREAM).
|
|
@@ -94,7 +94,8 @@ const upgradeMediaPresenceDefinition = {
|
|
|
94
94
|
video: jxt_1.childAttribute(null, 'mediastream', 'video'),
|
|
95
95
|
audio: jxt_1.childAttribute(null, 'mediastream', 'audio'),
|
|
96
96
|
listener: jxt_1.childAttribute(null, 'mediastream', 'listener'),
|
|
97
|
-
screenRecording: jxt_1.childAttribute(null, 'mediastream', 'screenRecording')
|
|
97
|
+
screenRecording: jxt_1.childAttribute(null, 'mediastream', 'screenRecording'),
|
|
98
|
+
videoGuest: jxt_1.childAttribute(null, 'mediastream', 'videoGuest')
|
|
98
99
|
},
|
|
99
100
|
namespace: 'orgspan:mediastream'
|
|
100
101
|
};
|
package/dist/cjs/webrtc.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface InitRtcSessionOptions {
|
|
|
17
17
|
jid?: string;
|
|
18
18
|
conversationId?: string;
|
|
19
19
|
sourceCommunicationId?: string;
|
|
20
|
+
videoGuest?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export declare class WebrtcExtension extends EventEmitter implements StreamingClientExtension {
|
|
22
23
|
client: Client;
|
package/dist/cjs/webrtc.js
CHANGED
|
@@ -600,6 +600,13 @@ class WebrtcExtension extends events_1.EventEmitter {
|
|
|
600
600
|
sourceCommunicationId: opts.sourceCommunicationId
|
|
601
601
|
}
|
|
602
602
|
};
|
|
603
|
+
if (opts.mediaPurpose === interfaces_1.SessionTypes.collaborateVideo) {
|
|
604
|
+
Object.assign(mediaPresence.media, {
|
|
605
|
+
video: true,
|
|
606
|
+
audio: true,
|
|
607
|
+
videoGuest: true
|
|
608
|
+
});
|
|
609
|
+
}
|
|
603
610
|
// TODO? can't set last-n on parent element because it invalidates presence root schema
|
|
604
611
|
for (const mediaDescription of mediaDescriptions) {
|
|
605
612
|
mediaPresence.media[mediaDescription.media] = true;
|
package/dist/deploy-info.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"team": "Client Streaming and Signaling",
|
|
2
|
+
"version": "19.2.3-develop",
|
|
3
|
+
"build": "3",
|
|
4
|
+
"buildDate": "2025-07-14T17:57:33.141Z",
|
|
6
5
|
"indexFiles": [
|
|
7
6
|
{
|
|
8
7
|
"file": "v19.2.3/streaming-client.browser.js"
|
|
@@ -11,8 +10,6 @@
|
|
|
11
10
|
"file": "v19/streaming-client.browser.js"
|
|
12
11
|
}
|
|
13
12
|
],
|
|
14
|
-
"
|
|
15
|
-
"buildDate": "2025-06-26T19:29:12.609998380Z",
|
|
16
|
-
"appName": "developercenter-cdn/streaming-client",
|
|
13
|
+
"team": "Client Streaming and Signaling",
|
|
17
14
|
"gcServiceName": "developercenter-cdn--streaming-client-webui"
|
|
18
15
|
}
|
package/dist/es/index.bundle.js
CHANGED
|
@@ -21401,7 +21401,8 @@ const upgradeMediaPresenceDefinition = {
|
|
|
21401
21401
|
video: jxt.childAttribute(null, 'mediastream', 'video'),
|
|
21402
21402
|
audio: jxt.childAttribute(null, 'mediastream', 'audio'),
|
|
21403
21403
|
listener: jxt.childAttribute(null, 'mediastream', 'listener'),
|
|
21404
|
-
screenRecording: jxt.childAttribute(null, 'mediastream', 'screenRecording')
|
|
21404
|
+
screenRecording: jxt.childAttribute(null, 'mediastream', 'screenRecording'),
|
|
21405
|
+
videoGuest: jxt.childAttribute(null, 'mediastream', 'videoGuest')
|
|
21405
21406
|
},
|
|
21406
21407
|
namespace: 'orgspan:mediastream'
|
|
21407
21408
|
};
|
|
@@ -32546,6 +32547,13 @@ class WebrtcExtension extends EventEmitter {
|
|
|
32546
32547
|
sourceCommunicationId: opts.sourceCommunicationId
|
|
32547
32548
|
}
|
|
32548
32549
|
};
|
|
32550
|
+
if (opts.mediaPurpose === SessionTypes.collaborateVideo) {
|
|
32551
|
+
Object.assign(mediaPresence.media, {
|
|
32552
|
+
video: true,
|
|
32553
|
+
audio: true,
|
|
32554
|
+
videoGuest: true
|
|
32555
|
+
});
|
|
32556
|
+
}
|
|
32549
32557
|
// TODO? can't set last-n on parent element because it invalidates presence root schema
|
|
32550
32558
|
for (const mediaDescription of mediaDescriptions) {
|
|
32551
32559
|
mediaPresence.media[mediaDescription.media] = true;
|
|
@@ -91,7 +91,8 @@ const upgradeMediaPresenceDefinition = {
|
|
|
91
91
|
video: childAttribute(null, 'mediastream', 'video'),
|
|
92
92
|
audio: childAttribute(null, 'mediastream', 'audio'),
|
|
93
93
|
listener: childAttribute(null, 'mediastream', 'listener'),
|
|
94
|
-
screenRecording: childAttribute(null, 'mediastream', 'screenRecording')
|
|
94
|
+
screenRecording: childAttribute(null, 'mediastream', 'screenRecording'),
|
|
95
|
+
videoGuest: childAttribute(null, 'mediastream', 'videoGuest')
|
|
95
96
|
},
|
|
96
97
|
namespace: 'orgspan:mediastream'
|
|
97
98
|
};
|
package/dist/es/webrtc.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface InitRtcSessionOptions {
|
|
|
17
17
|
jid?: string;
|
|
18
18
|
conversationId?: string;
|
|
19
19
|
sourceCommunicationId?: string;
|
|
20
|
+
videoGuest?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export declare class WebrtcExtension extends EventEmitter implements StreamingClientExtension {
|
|
22
23
|
client: Client;
|
package/dist/es/webrtc.js
CHANGED
|
@@ -604,6 +604,13 @@ export class WebrtcExtension extends EventEmitter {
|
|
|
604
604
|
sourceCommunicationId: opts.sourceCommunicationId
|
|
605
605
|
}
|
|
606
606
|
};
|
|
607
|
+
if (opts.mediaPurpose === SessionTypes.collaborateVideo) {
|
|
608
|
+
Object.assign(mediaPresence.media, {
|
|
609
|
+
video: true,
|
|
610
|
+
audio: true,
|
|
611
|
+
videoGuest: true
|
|
612
|
+
});
|
|
613
|
+
}
|
|
607
614
|
// TODO? can't set last-n on parent element because it invalidates presence root schema
|
|
608
615
|
for (const mediaDescription of mediaDescriptions) {
|
|
609
616
|
mediaPresence.media[mediaDescription.media] = true;
|
package/dist/npm/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
# [Unreleased](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.2.2...HEAD)
|
|
8
|
+
### Changed
|
|
9
|
+
* [STREAM-631](https://inindca.atlassian.net/browse/STREAM-631) - Remove pipeline infra from open-source.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
* [STREAM-653](https://inindca.atlassian.net/browse/STREAM-653) - Added fields to upgradeMediaPresence stanza definition.
|
|
8
13
|
|
|
9
14
|
# [v19.2.2](https://github.com/purecloudlabs/genesys-cloud-streaming-client/compare/v19.2.1...v19.2.2)
|
|
10
15
|
### Fixed
|
|
@@ -94,7 +94,8 @@ const upgradeMediaPresenceDefinition = {
|
|
|
94
94
|
video: jxt_1.childAttribute(null, 'mediastream', 'video'),
|
|
95
95
|
audio: jxt_1.childAttribute(null, 'mediastream', 'audio'),
|
|
96
96
|
listener: jxt_1.childAttribute(null, 'mediastream', 'listener'),
|
|
97
|
-
screenRecording: jxt_1.childAttribute(null, 'mediastream', 'screenRecording')
|
|
97
|
+
screenRecording: jxt_1.childAttribute(null, 'mediastream', 'screenRecording'),
|
|
98
|
+
videoGuest: jxt_1.childAttribute(null, 'mediastream', 'videoGuest')
|
|
98
99
|
},
|
|
99
100
|
namespace: 'orgspan:mediastream'
|
|
100
101
|
};
|
package/dist/npm/webrtc.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export interface InitRtcSessionOptions {
|
|
|
17
17
|
jid?: string;
|
|
18
18
|
conversationId?: string;
|
|
19
19
|
sourceCommunicationId?: string;
|
|
20
|
+
videoGuest?: boolean;
|
|
20
21
|
}
|
|
21
22
|
export declare class WebrtcExtension extends EventEmitter implements StreamingClientExtension {
|
|
22
23
|
client: Client;
|
package/dist/npm/webrtc.js
CHANGED
|
@@ -600,6 +600,13 @@ class WebrtcExtension extends events_1.EventEmitter {
|
|
|
600
600
|
sourceCommunicationId: opts.sourceCommunicationId
|
|
601
601
|
}
|
|
602
602
|
};
|
|
603
|
+
if (opts.mediaPurpose === interfaces_1.SessionTypes.collaborateVideo) {
|
|
604
|
+
Object.assign(mediaPresence.media, {
|
|
605
|
+
video: true,
|
|
606
|
+
audio: true,
|
|
607
|
+
videoGuest: true
|
|
608
|
+
});
|
|
609
|
+
}
|
|
603
610
|
// TODO? can't set last-n on parent element because it invalidates presence root schema
|
|
604
611
|
for (const mediaDescription of mediaDescriptions) {
|
|
605
612
|
mediaPresence.media[mediaDescription.media] = true;
|