You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Called to start a playing session for a stream. AMS responds with start message.
596
+
* Parameters:
597
+
* @param {streamParameters} includes:
598
+
* {string} streamId :(string) unique id for the stream that you want to play
599
+
* {string=} token :(string) required if any stream security (token control) enabled. Check https://github.com/ant-media/Ant-Media-Server/wiki/Stream-Security-Documentation
600
+
* {string=} roomId :(string) required if this stream is belonging to a room participant
601
+
* {Array.<MediaStreamTrack>=} enableTracks :(array) required if the stream is a main stream of multitrack playing. You can pass the the subtrack id list that you want to play.
602
+
* you can also provide a track id that you don't want to play by adding ! before the id.
603
+
* {string=} subscriberId :(string) required if TOTP enabled. Check https://github.com/ant-media/Ant-Media-Server/wiki/Time-based-One-Time-Password-(TOTP)
604
+
* {string=} subscriberName :(string) human readable name for subscriber
605
+
* {string=} subscriberCode :(string) required if TOTP enabled. Check https://github.com/ant-media/Ant-Media-Server/wiki/Time-based-One-Time-Password-(TOTP)
606
+
* {string=} metaData :(string, json) a free text information for the stream to AMS. It is provided to Rest methods by the AMS
607
+
* {string=} [role] : role for the stream. It is used for selective forwarding of subtracks in conference mode.
608
+
* {string=} [disableTracksByDefault] : disables tracks by default
0 commit comments