release_notes.txt 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. Video Streamer v1.0
  2. ===================
  3. The QML Video Streamer example application showcases the QML video streaming
  4. and playback capabilities as well as Qt Mobility bindings to the Multimedia
  5. package and the QML Video element. The QML Video Streamer application uses the
  6. official Qt Quick Components for navigation and UI.
  7. The application uses a customised QML Video player which has been componentised
  8. so that any developer can use it in his or her own QML application. The video
  9. player component is also used in the QML Media Browser example application
  10. available at: http://projects.developer.nokia.com/mediabrowser.
  11. Alternatively, the default platform player can be taken into use in the
  12. application settings.
  13. The application shows Nokia Developer videos that are streamed from the
  14. 'nokiadevforum' channel in YouTube using YouTube's mobile APIs.
  15. The QML Video Streamer uses Qt Quick Components in numerous places. For
  16. example, when navigating deeper into the application, the PageStack is used.
  17. The StatusBar and ToolBar (with all the ToolButtons etc.) are used as well.
  18. This example application demonstrates:
  19. - QML video streaming and playing capabilities
  20. - A custom QML video player component
  21. - Using Qt Quick Components in an application that supports multiple
  22. resolutions and both touch UI and keypad
  23. - Smart startup of the application (content and application UI loaded during
  24. splash screen (for more information, see the project's wiki pages)
  25. - Handling volume keys of a Symbian phone within the QML code
  26. This example application is hosted in Nokia Developer Projects:
  27. - http://projects.developer.nokia.com/QMLVideoStreamer
  28. For more information on the implementation, visit the wiki page:
  29. - http://projects.developer.nokia.com/QMLVideoStreamer/wiki
  30. 1. Usage
  31. -------------------------------------------------------------------------------
  32. The customised QML VideoPlayer component can be taken into use in 3rd party
  33. applications simply by adding the VideoPlayer QML sources into the project and
  34. importing it into a QML file. The player itself can be created simply by
  35. instantiating the VideoPlayView and by calling its setVideoData() function.
  36. 2. Prerequisites
  37. -------------------------------------------------------------------------------
  38. - Qt basics
  39. - Qt Quick basics
  40. - Qt Quick Components basics
  41. 3. Project structure and implementation
  42. -------------------------------------------------------------------------------
  43. 3.1 Folders
  44. -----------
  45. | The root folder contains the licence information and
  46. | this file (release notes).
  47. |
  48. |- design Contains UX design files.
  49. |
  50. |- screenshots Contains screenshots taken from the application.
  51. |
  52. |- meego MeeGo platform-specific code files.
  53. | |
  54. | |- code Root folder for project, gfx, QML, and Javascript files.
  55. | |
  56. | |- qtc_packaging Contains the MeeGo 1.2 Harmattan (Debian) packaging files.
  57. |
  58. |- symbian Symbian (Anna/Belle) platform-specific code files.
  59. | |
  60. | |- code Root folder for project, gfx, QML, and Javascript files.
  61. |
  62. 3.2 Important files and classes
  63. -------------------------------
  64. | Class | Description |
  65. |-------------------------|---------------------------------------------------|
  66. | LoadHelper | Helper class that is used to load the main QML |
  67. | | file right after showing the splash screen. |
  68. |-------------------------|---------------------------------------------------|
  69. | PlayerLauncher | Helper class that can be used to launch the |
  70. | | platform player for streaming. |
  71. |-------------------------|---------------------------------------------------|
  72. | VolumeKeys | Class that implements the MRemConCoreApiTarget- |
  73. | | Observer for reacting to hardware volume buttons. |
  74. |-------------------------|---------------------------------------------------|
  75. 3.3 Used APIs/QML elements/Qt Quick Components
  76. ----------------------------------------------
  77. The following APIs, QML elements, and Qt Quick Components have been used.
  78. Qt:
  79. - QDir
  80. - QScopedPointer
  81. - QString
  82. - QTimer
  83. Standard QML elements:
  84. - Connections
  85. - ListView
  86. - Loader
  87. - Text
  88. - TextField
  89. - Timer
  90. - XmlListModel
  91. - XmlRole
  92. - Behavior
  93. - ParallelAnimation
  94. - SequentialAnimation
  95. - State
  96. - Transition
  97. QML elements from Qt Quick Components:
  98. - BusyIndicator
  99. - ListItem
  100. - ProgressBar
  101. - Slider
  102. - ScrollDecorator
  103. - SelectionDialog
  104. - SearchBox (from Qt Quick Components Extras)
  105. QML elements from Qt Mobility:
  106. - DeviceInfo
  107. - Video
  108. 4. Compatibility
  109. -------------------------------------------------------------------------------
  110. Compatible with:
  111. - Symbian devices with Qt 4.7.4 or higher.
  112. - MeeGo 1.2 Harmattan devices.
  113. Tested on:
  114. - Nokia E6
  115. - Nokia E7-00
  116. - Nokia N9
  117. Developed with:
  118. - Qt SDK 1.2
  119. 4.1 Required capabilities
  120. -------------------------
  121. Without In-App Analytics: None; The application can be self signed on Symbian.
  122. This is the default behaviour for application compilation and sis creation.
  123. With In-App Analytics: ReadDeviceData. The application has to be signed with a
  124. Symbian Signing approved certificate. The In-App Analytics can be taken into
  125. use by enabling the IAA define in the VideoStreamer.pro file.
  126. 4.2 Known issues and design limitations
  127. ---------------------------------------
  128. - Video streaming might not start on some device & operator combinations. This
  129. might be due to the used video streaming access point. Changing it can help.
  130. In Symbian devices, select
  131. "Menu" - "Settings" - "Application settings" - "Videos" - "Access point in use"
  132. to change the currently used streaming access point.
  133. After video playback there are severe performance bugs.
  134. - https://bugreports.qt.nokia.com/browse/QTMOBILITY-1570 & -1818
  135. The video play view flickers sometimes and may be transparent.
  136. - https://bugreports.qt.nokia.com/browse/QTMOBILITY-1569
  137. Swiping the application to the background on the Nokia N9 while the video is
  138. playing causes the application to crash.
  139. - https://bugreports.qt-project.org/browse/QTMOBILITY-1995
  140. The header item cannot be seen if navigating with the keyboard.
  141. - https://bugreports.qt.nokia.com/browse/QTBUG-20926
  142. Seeking in video is not supported (when using the QML Video Player).
  143. - Seeking is supported in the the 'seekable'-property provided by the QML Video
  144. element but it was not taken into use in this application because seeking
  145. did not work seamlessly with streamed content.
  146. Streamed video has a considerably low resolution.
  147. - This is a restriction set by the YouTube mobile API.
  148. 5. Building, installing, and running the application
  149. -------------------------------------------------------------------------------
  150. 5.1 Preparations
  151. ----------------
  152. Check that you have the latest Qt SDK installed in the development environment
  153. and the latest Qt version on the device.
  154. Qt Quick Components 1.1 or higher is required.
  155. 5.2 Using the Qt SDK
  156. --------------------
  157. You can install and run the application on the device by using the Qt SDK.
  158. Open the project in the SDK, set up the correct target (depending on the device
  159. platform), and click the Run button. For more details about this approach,
  160. visit the Qt Getting Started section at Nokia Developer
  161. (http://www.developer.nokia.com/Develop/Qt/Getting_started/).
  162. 5.3 Symbian device
  163. ------------------
  164. Make sure your device is connected to your computer. Locate the .sis
  165. installation file and open it with Nokia Suite. Accept all requests from Nokia
  166. Suite and the device. Note that you can also install the application by copying
  167. the installation file onto your device and opening it with the Symbian File
  168. Manager application.
  169. After the application is installed, locate the application icon from the
  170. application menu and launch the application by tapping the icon.
  171. 5.4 Nokia N9 and Nokia N950
  172. ---------------------------
  173. Copy the application Debian package onto the device. Locate the file with the
  174. device and run it; this will install the application. Note that you can also
  175. use the terminal application and install the application by typing the command
  176. 'dpkg -i <package name>.deb' on the command line. To install the application
  177. using the terminal application, make sure you have the right privileges
  178. to do so (e.g. root access).
  179. Once the application is installed, locate the application icon from the
  180. application menu and launch the application by tapping the icon.
  181. 6. Licence
  182. -------------------------------------------------------------------------------
  183. See the licence text file delivered with this project. The licence file is also
  184. available online at
  185. https://projects.developer.nokia.com/QMLVideoStreamer/browser/Licence.txt
  186. 7. Related documentation
  187. -------------------------------------------------------------------------------
  188. Qt Quick Components
  189. - http://doc.qt.nokia.com/qt-components-symbian-1.0/index.html
  190. - http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components.html
  191. 8. Version history
  192. -------------------------------------------------------------------------------
  193. 1.1 Added In-App Analytics / console logging stub implementation for analyzing
  194. application usage behaviour.
  195. 1.0 Published on the Nokia Developer website.