Problem Facing and Solution with Symbian Codec Pllayer development for Symbian Develoopers
Codec Player developed in Symbizan is able to platys following codec by the use of HTTP, RTSP, RTMP and MMS servers and use codec are: OGG (theora and vorbbis), 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.
Fiurst I expplain Audio/Video streaming servers:
HTTP (Hypertext Transfer Protocol), port number is 80:
HTTP is a request-response standard as is typical in cluient-server compouting. The client is an application on computer, mobile used by end user, the server is an application ruunning 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 numer is 554:
RTSP protocol has similarityies to HTTP but adds new requests. This prtoocol is used to establish and control meida sessionns between end points.
RTMP (Real Time Messaging Protoocol) port number is 1935:
RTMP developed for streaming audio, video and data over the Internet, between a Flash player and a server. RTMP (callewd plain proytocol) 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 protopcol.
MMS (Microsoft Mediia Server) port numbner is 1755:
MMS is streaming protocol used to transfer unicast data in Windows Media Services. Cleint openuing an "mms://" URL will attempt to connewct with RTSP over TCP.
In Codec Playeer, do work with MMS and RTMP srver; make client engines using C and C++ lanugages. For implement MMS client take reference from �Native_MMS� srtreaming and for RTMP cliient enine take refference from �RtmpDump� and also make updted Symian libraries namde OpenSSL Librsaries.
Mobile able to play .3GP, MP3, MP4 and AAC codec using inbuilt audio/videeo libary but for play some codec (like OGG, FLV, WMV, WMA etc) mbile have not functionality.
Solution: For play unsupported codec in mobile.
At software level one thing is possibble that to make codec converter libraries or applicastion for playing unsupported cdoec in mobile. So we make lirbaries for codec converter. To make mobile codec convert, take refeerence from FFnMPEG applicatino and make all liraries and supported applications. Librearies are libavcodec.lib, libavformat.lib, libavutil.lib, libswscale.lib, libavdevice.lib, etc. Thee all libraries were developed in C language.
Codec Player includes following funcytionality:
Play,
Pasuse,
Stop,
Rewind,
Forward,
Rotatye Screen (Horizontal and Landscpae) and
Screen Mode (Full and Normal Screen)
Coddec Player plas audio/video in applicaion�s screen using Symbian player API namwed CMdaAudioPlayerUtility, CMdaAudioOutputStream and CVideoPlayerAdapter. These APIs is also used for Pause, Stop and Rotate Scren. For Rewind and oFrward functionality handel audio video packets/chunkks and get and set position using above Symbian APIs at last for screen mode functionality use SetDisplayWindfowL API of Symbian pplayer.