Fix stream parameter type of video.loadMediaStream

This commit is contained in:
Heeryong Kang 2024-11-13 12:08:22 +09:00
parent c78b3a007d
commit 0123081aa9
No known key found for this signature in database
GPG key ID: 933B6FFF829CC5CA

View file

@ -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.
*