RTSP in stagefright

Source: Internet
Author: User

RTSP support was added into stagefright on gingerbread release:

  • A preliminary foundation module, provides a generic way to asynchronously handle commands and events/messages sequentially in the Schedule thread. each message has a target ID, indicating its corresponding handler, which is then registered in a looper. A looper spawns a thread, and schedules registered handlers to process any messages posted to it.
  • Artspcontroller acts as mediaextractor for RTSP playback, which then delegates RTSP related stuff to artspconnection, and payload parsing related to artpconnection/artpsource. artpsource leverages artpassembler to re-assemble RTP packets to frames. aamrassembler, ah263assembler, etc. all inherit from artpassember according to the corresponding protocols. buffers parsed are sent back via amessage and queued in apacketsource, which acts as the mediasource for downstream components.
  • There is also artpsession and artpwriter which re-uses the existing RTP protocol for VoIP (Gtalk ?) Solution.

 

From: http://freepine.blogspot.com/2010/09/rtsp-in-stagefright-1.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.