From 0123081aa9833a52bf10baee770326490808b9d5 Mon Sep 17 00:00:00 2001 From: Heeryong Kang Date: Wed, 13 Nov 2024 12:08:22 +0900 Subject: [PATCH] Fix stream parameter type of video.loadMediaStream --- src/gameobjects/video/Video.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gameobjects/video/Video.js b/src/gameobjects/video/Video.js index 628e411b7..453fa1927 100644 --- a/src/gameobjects/video/Video.js +++ b/src/gameobjects/video/Video.js @@ -689,7 +689,7 @@ var Video = new Class({ * @method Phaser.GameObjects.Video#loadMediaStream * @since 3.50.0 * - * @param {string} stream - The MediaStream object. + * @param {MediaStream} stream - The MediaStream object. * @param {boolean} [noAudio=false] - Does the video have an audio track? If not you can enable auto-playing on it. * @param {string} [crossOrigin] - The value to use for the `crossOrigin` property in the video load request. Either undefined, `anonymous` or `use-credentials`. If no value is given, `crossorigin` will not be set in the request. *