@@ -666,7 +666,7 @@ public void forceDisconnect(String sessionId, String connectionId) throws OpenTo
666
666
667
667
668
668
/**
669
- * Gets an {@link Stream} object for the given sessionId and streamId .
669
+ * Gets a {@link Stream} object for the given session ID and stream ID .
670
670
*
671
671
* @param sessionId The session ID.
672
672
* @param streamId The stream ID.
@@ -682,7 +682,7 @@ public Stream getStream(String sessionId, String streamId) throws OpenTokExcepti
682
682
}
683
683
684
684
/**
685
- * Gets a list of {@link Stream} object for the given session ID.
685
+ * Gets a list of {@link Stream} objects for the given session ID.
686
686
*
687
687
* @param sessionId The session ID.
688
688
*
@@ -700,11 +700,18 @@ public StreamList listStreams(String sessionId) throws OpenTokException {
700
700
}
701
701
702
702
/**
703
- * Gets a list of {@link Stream} object for the given session ID .
703
+ * Dials a SIP gateway to connect it an OpenTok session.
704
704
*
705
705
* @param sessionId The session ID.
706
- * @param token The token.
707
- * @param properties The SipProperties.
706
+ *
707
+ * @param token OpenTok token to be used for the participant being called. You can add token
708
+ * data to identify that the participant is on a SIP endpoint or for other identifying data,
709
+ * such as phone numbers. (The OpenTok client libraries include properties for inspecting
710
+ * the connection data for a client connected to a session.) See the
711
+ * <a href="https://tokbox.com/developer/guides/signaling/">Token Creation developer guide</a>.
712
+ . *
713
+ * @param properties The {@link SipProperties} object defining options for the SIP call.
714
+ *
708
715
* @return The {@link Sip} object.
709
716
*/
710
717
public Sip dial (String sessionId , String token , SipProperties properties ) throws OpenTokException {
0 commit comments