Dear Media Experts,

I found there is a conflict behavior on Audio competing between B2G & Desktop.
And hope can get some feedback from you. Thanks in advance.

  Conflict Case:
    User launched many pages for playing musics in the same time.

  Desktop version:
    All of the musics will be mixed together so audio stream is independent 
with each others.

  B2G version:
    Case 1: We need only one music is on playing and stop other musics played 
in early.
            Ex: Music player is playing then start to play video. In this time 
music player should be aware to stop.
                                                    or phone call is 
coming/outgoing
    Case 2: The musics playing from tabs in browser would still be mixed.

Solution ?
  1. Refer to Android, it is responsibility on "Web App" to tell Gecko whether 
it needs to play along or would be mixed.
  2. Web App needs to detect the screen off if it didn't need to keep on 
playing. (ex: game with music)
                                 event for falling into background if it didn't 
plan to play in background.

Sincerely yours.

-------------------------------------
Marco Chen
System Engineer in B2G Team
Mozilla Taiwan

Tel: +886-2-87861100 # 352
mail: [email protected]

_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to