File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
src/main/java/com/opentok Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,15 @@ public Builder password(String password) {
110
110
111
111
/**
112
112
* Call this method to define custom headers to be added to the SIP INVITE
113
- * initiated from OpenTok to the your SIP platform.
113
+ * initiated from OpenTok to your SIP platform.
114
114
*
115
115
* @param headersJsonStartingWithXDash This JSON string defines custom headers
116
- * to be added to the SIP INVITE request initiated from OpenTok to the your SIP platform.
117
- * Each of the custom headers must start with the "X-" prefix, or the call will result
118
- * in a Bad Request (400) response.
116
+ * to be added to the SIP INVITE request initiated from OpenTok to your SIP platform.
117
+ * <p>
118
+ * <b>Note:</b> You no longer need to append the "X-" prefix to the beginning of
119
+ * custom headers. This restriction, which applied previously, has been removed.
119
120
*
120
- * @return The SipProperties.Builder object with the custom headers set .
121
+ * @return The SipProperties.Builder object.
121
122
*/
122
123
public Builder headersJsonStartingWithXDash (String headersJsonStartingWithXDash ) {
123
124
this .headersJsonStartingWithXDash = headersJsonStartingWithXDash ;
You can’t perform that action at this time.
0 commit comments