@microsoft/teams-js 2.3.0-beta.0 → 2.3.0-beta.1
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/dist/MicrosoftTeams.d.ts
CHANGED
@@ -5813,6 +5813,10 @@ export namespace video {
|
|
5813
5813
|
* RGB stride, valid only when video frame format is RGB
|
5814
5814
|
*/
|
5815
5815
|
stride?: number;
|
5816
|
+
/**
|
5817
|
+
* The time stamp of the current video frame
|
5818
|
+
*/
|
5819
|
+
timestamp?: number;
|
5816
5820
|
}
|
5817
5821
|
/**
|
5818
5822
|
* Video frame format enum, currently only support NV12
|
package/dist/MicrosoftTeams.js
CHANGED
@@ -1128,7 +1128,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
1128
1128
|
});
|
1129
1129
|
|
1130
1130
|
;// CONCATENATED MODULE: ./src/internal/constants.ts
|
1131
|
-
var version = "2.3.0-beta.
|
1131
|
+
var version = "2.3.0-beta.1";
|
1132
1132
|
/**
|
1133
1133
|
* @hidden
|
1134
1134
|
* The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
|
@@ -6821,8 +6821,11 @@ var video;
|
|
6821
6821
|
throw errorNotSupportedOnPlatform;
|
6822
6822
|
}
|
6823
6823
|
registerHandler('video.newVideoFrame', function (videoFrame) {
|
6824
|
-
if (videoFrame
|
6825
|
-
|
6824
|
+
if (videoFrame) {
|
6825
|
+
var timestamp_1 = videoFrame.timestamp;
|
6826
|
+
frameCallback(videoFrame, function () {
|
6827
|
+
notifyVideoFrameProcessed(timestamp_1);
|
6828
|
+
}, notifyError);
|
6826
6829
|
}
|
6827
6830
|
});
|
6828
6831
|
sendMessageToParent('video.registerForVideoFrame', [config]);
|
@@ -6862,8 +6865,8 @@ var video;
|
|
6862
6865
|
* or pass the video frame to next one in video pipeline
|
6863
6866
|
* @beta
|
6864
6867
|
*/
|
6865
|
-
function notifyVideoFrameProcessed() {
|
6866
|
-
sendMessageToParent('video.videoFrameProcessed');
|
6868
|
+
function notifyVideoFrameProcessed(timestamp) {
|
6869
|
+
sendMessageToParent('video.videoFrameProcessed', [timestamp]);
|
6867
6870
|
}
|
6868
6871
|
/**
|
6869
6872
|
* Sending error notification to host client
|