BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 04-16-2009, 12:44 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: B9000
PIN: N/A
Carrier: I don't know since I'm the new user.
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question DRM Forward Lock on BlackBerry (3gp/video files and MMS contents)

Please Login to Remove!

Well, I've been testing the DRM Forward Lock system to see whether the users're able to download the contents from a server on a Blackberry or not. Next thing I knew I received two messages that stated "The media being played is of an unsupported format" (A 3gp/video file could be downloaded but it couldn't be played whatsoever) and "Unsupported media type: MMS" (Well, my manager has a reason to believe that the user can download it only if the DRM Forward Lock's perfect. By the way, it consists of a text file and an image file @ a GIF file) so here are the codes I would like you to see;

PHP Code:
<?

header
("Content-type: application/vnd.oma.drm.message; boundary=boundary-1");

print(
"--boundary-1\r\n");

print(
"Content-type: video/3gpp\r\n");

print(
"Content-Transfer-Encoding: binary\r\n");

print(
"\r\n");

fpassthru(fopen("190001023.3gp""rb"));

print(
"\r\n--boundary-1--\r\n");

?>
PHP Code:
<?

header
("Content-type: application/vnd.oma.drm.message; boundary=boundary-1");

print(
"--boundary-1\r\n");

print(
"Content-type: MMS\r\n");

print(
"Content-Transfer-Encoding: binary\r\n");

print(
"\r\n");

fpassthru(fopen("EC2233600553""rb"));

print(
"\r\n--boundary-1--\r\n");

?>
Does anyone have any idea what's wrong with the codes above? I think the sets of codes apply to all BlackBerry models (I'm currently using BlackBerry Bold 9000).
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.