Allow IAP to be selected in Phonon MMF backend
authorRuth Sadler <ext-ruth.sadler@nokia.com>
Tue, 11 Jan 2011 10:32:46 +0000 (10:32 +0000)
committerGareth Stockwell <ext-gareth.stockwell@nokia.com>
Tue, 11 Jan 2011 13:18:56 +0000 (13:18 +0000)
commit1640acce5ca8f49c5655edffa2a1108048c5a414
treef8697351bab1f13ded31c1f0ccef7e221b3c4b49
parentd33fd349c8a22b2e4a6d9bc1bf4defcb2a047744
Allow IAP to be selected in Phonon MMF backend

The Phonon API does not provide any way for the client to specify
which network connection should be used for streaming playback.
If the application already has a connection open, using a bearer
other than the default (e.g. using WiFi when the device default is
GPRS), it may be desirable to use it for streaming, rather than
allowing the Phonon backend to open a second connection on the
default bearer.

This patch adds a custom property on the Phonon::MediaObject,
called InternetAccessPointName.  The client can specify the IAP
which Phonon should use by setting this property.

Note that support for this property is only provided in the Phonon
MMF backend.

Task-number: QTBUG-11436
Reviewed-by: Gareth Stockwell
17 files changed:
demos/qmediaplayer/mediaplayer.cpp
demos/qmediaplayer/mediaplayer.h
demos/qmediaplayer/qmediaplayer.pro
dist/changes-4.7.2
src/3rdparty/phonon/mmf/abstractmediaplayer.cpp
src/3rdparty/phonon/mmf/abstractmediaplayer.h
src/3rdparty/phonon/mmf/abstractvideoplayer.cpp
src/3rdparty/phonon/mmf/abstractvideoplayer.h
src/3rdparty/phonon/mmf/audioplayer.cpp
src/3rdparty/phonon/mmf/audioplayer.h
src/3rdparty/phonon/mmf/download.cpp
src/3rdparty/phonon/mmf/download.h
src/3rdparty/phonon/mmf/mediaobject.cpp
src/3rdparty/phonon/mmf/mediaobject.h
src/plugins/phonon/mmf/mmf.pro
tests/auto/mediaobject/mediaobject.pro
tests/auto/mediaobject/tst_mediaobject.cpp