String strUri = "rtsp://" + 서버IP + ":" + 서버포트 + 패스; String strUserInfoHash = convertMd5Hash(사용자ID+ ":"+ strRealm +":"+ 사용자패스워드); String strUriHash = convertMd5Hash("ANNOUNCE"+":" + strUri); String strResHash = convertMd5Hash(strUserInfoHash+":"+ strNonce +":"+strUriHash); mStrAuthorization = "Digest username=\""+ 사용자ID+"\",realm=\""+strRealm+"\",nonce=\""+strNonce+"\",uri=\""+strUri+"\",response=\""+strResHash+"\""; strRequest = "ANNOUNCE rtsp://"+ 서버IP +":"+ 서버포트 + 패스+" RTSP/1.0\r\n" + "CSeq: " + 순번 + "\r\n" + "Content-Length: " + 내용.length() + "\r\n" + "Authorization: " + mStrAuthorization + "\r\n" + "Content-Type: application/sdp \r\n\r\n" + 내용;