cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tommy-Carlos Williams (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-5504) Telephone events are handled by the Device plugin, but Media needs them to know to pause on incoming calls, etc
Date Fri, 29 Nov 2013 03:38:35 GMT

     [ https://issues.apache.org/jira/browse/CB-5504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tommy-Carlos Williams updated CB-5504:
--------------------------------------

    Description: 
There is a telephony receiver in the Device plugin that sends a message to all plugins so
that they can handle incoming calls etc.

Currently the only core plugin that listens for those messages is the Media plugin so that
it can pause playback when a call comes in.

There is no documentation for this (there didn't used to need to be before the great plugin
break out) so if you just add the Media plugin, audio playback does not pause on an incoming
or outgoing phone call.

I am not advocating moving this into Media as there might be third party plugins listening
for this. However, I do think that at the least this needs to be documented in the docs for
the Media plugin/api and possibly even have Device as a dependancy for Media.

There's another bug that is related involving android permissions but I will lodge that separately.
(See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505])

  was:
There is a telephony receiver in the Device plugin that sends a message to all plugins so
that they can handle incoming calls etc.

Currently the only core plugin that listens for those messages is the Media plugin so that
it can pause playback when a call comes in.

There is no documentation for this (there didn't used to need to be before the great plugin
break out) so if you just add the Media plugin, audio playback does not pause on an incoming
or outgoing phone call.

I am not advocating moving this into Media as there might be third party plugins listening
for this. However, I do think that at the least this needs to be documented in the docs for
the Media plugin/api and possibly even have Device as a dependancy for Media.

There's another bug that is related involving android permissions but I will lodge that separately.


> Telephone events are handled by the Device plugin, but Media needs them to know to pause
on incoming calls, etc
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-5504
>                 URL: https://issues.apache.org/jira/browse/CB-5504
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Tommy-Carlos Williams
>
> There is a telephony receiver in the Device plugin that sends a message to all plugins
so that they can handle incoming calls etc.
> Currently the only core plugin that listens for those messages is the Media plugin so
that it can pause playback when a call comes in.
> There is no documentation for this (there didn't used to need to be before the great
plugin break out) so if you just add the Media plugin, audio playback does not pause on an
incoming or outgoing phone call.
> I am not advocating moving this into Media as there might be third party plugins listening
for this. However, I do think that at the least this needs to be documented in the docs for
the Media plugin/api and possibly even have Device as a dependancy for Media.
> There's another bug that is related involving android permissions but I will lodge that
separately. (See: [CB-5505|https://issues.apache.org/jira/browse/CB-5505])



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message