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  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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