Closed Bug 838898 Opened 11 years ago Closed 11 years ago

[music] [video] Error "Can not open received file Can not open unknown media type" for supported file formats

Categories

(Firefox OS Graveyard :: Gaia::Video, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-, b2g18+)

RESOLVED WORKSFORME
blocking-b2g -
Tracking Status
b2g18 + ---

People

(Reporter: parul, Assigned: pdahiya)

Details

(Whiteboard: testrun 5.1)

Attachments

(3 files)

Test Environment:
Device: unagi phone
Build Identifier: 20130204070201
Gaia Version: b277f372f097c
Gecko Version: 450fd3b8496b
Update channel: nightly
Git commit info: 2013-02-01 13:43:40 

Steps to reproduce:
1. Pair a bluetooth device with the phone, such a laptop.
2. Transfer via bluetooth the following music and video file types: .webm, .mp4 (codec: aac), .mp4 (codec: h.264), .ogg (codec: vorbis), .3gp, .mov, .m4v, .ogv.
3. Wait while the notification shows bluetooth file transfer in progress.
4. Pull doen the notification bar and tap on the completed notification message.

Actual Results:
An error message is shown: "Can not open received file | Can not open unknown media type: bluetooth/downloads/<file-name>".

Expected Results:
The Music app or Video app should launch and display the file format that it supports.
 
Note: This doesn't happen with image file types. In other words, if image files are received via bluetooth transfer, they open in the Gallery app.
We need more info from QA here:

1. Does this only happen when transferring a batch of music & video files as listed above?  ie: what happens if a file of each of those types is transferred individually?
2. Is this just an error notification issue?  Do the files transfer successfully and exist in the app and play?

If 2 is true we will not block here, just track.
Keywords: qawanted
unagi, using videos from:

http://videos.mozilla.org/ and http://www.mozilla.org/en-US/firefox/video/

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18/rev/3f905f0ca9ce
Gaia   ecca2ee860825547d5e1109436b50b74dfe9261e
BuildID 20130212070205
Version 18.0

I believe that Parul tested with individual file transfers and not a bulk transfer because when I tried a bulk transfer it did not work at all. All the testing below was done with individual files.

This is not an error notification issue - you get a notification that the Bluetooth transfer was complete, but when you try to open the file it won't open and you get a similar dialog to what you see in the two attachments attached to the bug.

I tried a bunch of video formats - ogg, mp4 and they both failed with the same error message Parul attached to this bug. The only file transfer that succeeded for me was an MP3 file transfer which finished and then opened in the music app after I clicked the notification.
Keywords: qawanted
To answer 2:  The media is on the SDcard and you can play it in the app.

Details:
- You get a notification stating that the bluetooth has completed.
- Pulling down the notification and tapping on the bluetooth notification gives the error message
- Pressing confirm dismisses the error message and shuts bluetooth off, you have to restart it.
- launching video app shows the video in the app (only if the video app wasn't already launched before the bluetooth - see bug 836783)
- the video plays and does not cut off.
To clarify point 3, you have to turn bluetooth back on is what I mean by "restart it"
Not a blocker given comment 4 - I think we need a separate bug on file for comment 5.
blocking-b2g: tef? → -
tracking-b2g18: --- → +
I retested comment 5 and it does not seem to occur on today's 101 build.

Gecko  http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/d1288313218e
Gaia   6544fdb8dddc56f1aefe94482402488c89eeec49
BuildID 20130214070203
Version 18.0
Unagi
Issue repros on the unagi device, the error message displays for any transfered video file, but after confirming the error the user can navigate to the video app and play the video successfully.

Environmental  Variables:
Build ID: 20130225070200
Kernel Date: Dec 5
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/3a5a27992a75
Gaia: 5691a16fff8e1403c75ed9d6f3a443b7e58198c6
Whiteboard: testrun 5.1
Not able to replicate issue on 07/08 - gaia-master and gecko m-c build. 

Steps followed:
1. Pair unagi phone over bluetooth with macbook pro.
2. Transfer via bluetooth .mp4 video file
3. On file transfer complete, tap on the file received notification.
4. This opens and starts playing the mp4 video file.

Environment

Gaia - 82e6fd4b52223a8bcec0c78fc0b4aa4d0b1be0e0
Gecko - e78450af0f9fc6368f028bbc28c9190e902de497
BuildId - 20130708231158
Device - Unagi

Please test if the issue is still valid?
Thanks
Flags: needinfo?(parul)
Able to replicate the issue when the user tap on home button to exit. Clicking on back icon on top left exits the player successfully without any error dialog.

STR
1. Pair unagi phone over bluetooth with macbook pro.
2. Transfer via bluetooth .mp4 video file
3. On file transfer complete, tap on the file received notification.
4. This opens and starts playing the mp4 video file.
5. Tap on home icon to exit player view, displays 'Can not open unknown media type' confirm dialog box. 

The above steps replicate this issue in video, music and gallery app. Looking into the issue
Flags: needinfo?(parul)
Assignee: nobody → pdahiya
Fix for showing error dialog only when the file type is not supported and the received file cannot be opened
Attachment #773474 - Flags: review?(dkuo)
(In reply to Punam Dahiya from comment #9)
> Not able to replicate issue on 07/08 - gaia-master and gecko m-c build. 
> 
> Steps followed:
> 1. Pair unagi phone over bluetooth with macbook pro.
> 2. Transfer via bluetooth .mp4 video file
> 3. On file transfer complete, tap on the file received notification.
> 4. This opens and starts playing the mp4 video file.
> 
> Environment
> 
> Gaia - 82e6fd4b52223a8bcec0c78fc0b4aa4d0b1be0e0
> Gecko - e78450af0f9fc6368f028bbc28c9190e902de497
> BuildId - 20130708231158
> Device - Unagi
> 
> Please test if the issue is still valid?
> Thanks


The original issue reported in this bug is fixed. The issue of confirm dialog shown when user exits by tapping home button is tracked in separate bug https://bugzilla.mozilla.org/show_bug.cgi?id=893171.

Marking the bug as WORKSFORME.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Comment on attachment 773474 [details] [diff] [review]
PR checks error type before displaying unknown media type confirm dialog

Moved this review request to bug 893171.
Attachment #773474 - Flags: review?(dkuo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: