Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 48
Registered: ‎12-11-2008
My Device: Not Specified

"How to set Credential( )"

public void setCredentials(string credentials)

 

Sets the authentication credentials for the Player. Parameters: credentials - A String which will fill the "Authentication" field in an RTSP response. Since: JDE 4.3.0

 

hi guys,

 

Anybody know about how to set credentials ... Because when am opening rtsp connection i have bug  "Server blocked"

i cant able to open , ,, thats y..... can u give me some sample  coding for how to use this method.............


Expect uuuuuuuuu

 

BlackBerry Development Advisor
Posts: 15,083
Registered: ‎07-09-2008
My Device: BlackBerry Passport
My Carrier: Bell

Re: "How to set Credential( )"

RTSP authentication is similar to HTTP authentication.  What you set here depends on what the server is expecting (HTTP basic or digest authentication).  Here is an example on using HTTP basic authentication that you could apply to a RTSP connection.

 

How To - Implement basic HTTP authentication
Article Number: DB-00468

http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800429/How_To_...

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker