Clicky

Articlesalley.com - Articles Directory

Browse Articles | Submit an Article | Search Articles | Most Viewed Articles | Latest Articles | FAQ
Article Directory
Articles Area
Home Login / Register Get RSS Feeds Add Free Article Content Article Ratings Go Daddy Coupon Codes
Guidelines
Authors Publishers
Home | Accounting | Bookkeeping | Problem Facing and S ...

Problem Facing and Solution with Symbian Codec Player development for Symbian Developers

Submitted by anty and viewed 1310 times
Total Word Count: 683  
Author Rating: NA

Rate this article Rate this article | Publisher Publisher | Print Print
This article was intended to provide information on Symbian development for Symbian developers on making codec player which providing them with some technical details.

Codec Player developed in Symbian is able to plays following codec by the use of HTTP, RTSP, RTMP and MMS servers and use codec are: OGG (theora and vorbis), FLV, 3GP, WMV, WMA, MP3, MP4, AAC with all functionality: Play, Pause, Rewind, Forward, Rotate Screen(Horizontal and Landscape), Change Screen Mode(Full and Normal Screen), Stop.

 

First I explain Audio/Video streaming servers:

 

HTTP (Hypertext Transfer Protocol), port number is 80:

HTTP is a request-response standard as is typical in client-server computing. The client is an application on computer, mobile used by end user, the server is an application running on the computer hosting the web site. Codec Player use HTTP/1.1 version for download Audio/Video data file because that can reuse the same connection to download.

 

RTSP (Real Time Streaming Protocol), port number is 554:

RTSP protocol has similarities to HTTP but adds new requests. This protocol is used to establish and control media sessions between end points.

 

RTMP (Real Time Messaging Protocol) port number is 1935:

RTMP developed for streaming audio, video and data over the Internet, between a Flash player and a server. RTMP (called plain protocol) works with TCP, RTMPT encapsulated within HTTP requests to traverse firewalls and RTMPS work list RTMPT but over a secure HTTPS connection. RTMP packets can be exchanged via two HTTP tunneling protocols so developer must read a tunneling process for use RTMP protocol.

 

MMS (Microsoft Media Server) port number is 1755:

MMS is streaming protocol used to transfer unicast data in Windows Media Services. Client opening an "mms://" URL will attempt to connect with RTSP over TCP.

 

In Codec Player, do work with MMS and RTMP server; make client engines using C and C++ languages. For implement MMS client take reference from “Native_MMS” streaming and for RTMP client engine take reference from “RtmpDump” and also make updated Symbian libraries named OpenSSL Libraries.

 

Mobile able to play .3GP, MP3, MP4 and AAC codec using inbuilt audio/video library but for play some codec (like OGG, FLV, WMV, WMA etc) mobile have not functionality.

 

Solution: For play unsupported codec in mobile.

At software level one thing is possible that to make codec converter libraries or application for playing unsupported codec in mobile. So we make libraries for codec converter. To make mobile codec convert, take reference from FFMPEG application and make all libraries and supported applications. Libraries are libavcodec.lib, libavformat.lib, libavutil.lib, libswscale.lib, libavdevice.lib, etc. These all libraries were developed in C language.

 

Codec Player includes following functionality:

 

Play,

Pause,

Stop,

Rewind,

Forward,

Rotate Screen (Horizontal and Landscape) and

Screen Mode (Full and Normal Screen)

 

Codec Player plays audio/video in application’s screen using Symbian player API named CMdaAudioPlayerUtility, CMdaAudioOutputStream and CVideoPlayerAdapter. These APIs is also used for Pause, Stop and Rotate Screen. For Rewind and Forward functionality handle audio video packets/chunks and get and set position using above Symbian APIs at last for screen mode functionality use SetDisplayWindowL API of Symbian player.

ArticleSource: ArticlesAlley.com
Additional articles about symbian development
About the author
Article on Codec Player development and the problem raised and the solution for it which can help Symbian developers in developing Codec player application on Symbian Os Platform.
Please Rate This Article

Number of ratings: 0
Rating: 0

© Copyright dd ArticlesAlley.com - All Rights Reserved Worldwide. About Us | Contact Us | Site Map | Exchange Links | Privacy Policy | Terms of Use