@@ -662,7 +662,7 @@ export class WebRTCAdaptor {
662662 * @param {string= } metaData :(string, json) a free text information for the stream to AMS. It is provided to Rest methods by the AMS
663663 * @param {string= } [role] : role for the stream. It is used for selective forwarding of subtracks in conference mode.
664664 */
665- play ( streamId , token , roomId , enableTracks , subscriberId , subscriberCode , metaData , role ) {
665+ play ( streamId , token , roomId , enableTracks , subscriberId , subscriberCode , metaData , role , viewerInfo ) {
666666 if ( typeof streamId === 'object' ) {
667667 // Object-style: play({ streamId, token, ... })
668668 this . playStream ( streamId ) ;
@@ -687,7 +687,8 @@ export class WebRTCAdaptor {
687687 trackList : typeof enableTracks !== undefined && enableTracks != null ? enableTracks : [ ] ,
688688 subscriberId : typeof subscriberId !== undefined && subscriberId != null ? subscriberId : "" ,
689689 subscriberCode : typeof subscriberCode !== undefined && subscriberId != null ? subscriberCode : "" ,
690- viewerInfo : typeof metaData !== undefined && metaData != null ? metaData : "" ,
690+ viewerInfo : typeof viewerInfo !== undefined && viewerInfo != null ? viewerInfo : "" ,
691+ metaData : typeof metaData !== undefined && metaData != null ? metaData : "" ,
691692 role : ( typeof role !== undefined && role != null ) ? role : "" ,
692693 userPublishId : typeof this . publishStreamId !== undefined && this . publishStreamId != null ? this . publishStreamId : "" ,
693694 }
0 commit comments