Networking/Archive/RTSP: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 12: Line 12:
<br>
<br>


= Bugs =
= History (Important Bugs) =
The first bug of RTSP streaming feature on B2G is bug 831645, which implemented most of the framework of our RTSP. <br>
{{Bug|831645}} - Support rtsp streaming framework <br>
{{Bug|831645}} - Support rtsp streaming framework <br>
This is the first bug of RTSP streaming feature on B2G, which implemented most of the RTSP framework in Firefox OS. <br>
{{Bug|992568}} - [RTSP] Refactor RtspChannel to support HTTP->RTSP redirection and rendering inside the browser
Although the basic framework was ready, before FFOS v1.4, RTSP on B2G is render in the video app and supports only <a> and <video> tags. <br>
We had made a decision (in https://bugzilla.mozilla.org/show_bug.cgi?id=963565#c13) to render RTSP directly inside the B2G browser app. <br>
This bug serves as the collective implementation of several features, including:
* Support RTSP in URL bar and <iframe>.
* Support HTTP->RTSP redirection.
* Render RTSP inside the browser.


In B2G v2.0, we had a huge progress in improvements of RTSP. The meta bug of RTSP in v2.0 is bug 957937. <br>
{{Bug|957937}} - (b2g-RTSP-2.0) [META] RTSP for 2.0 <br>
{{Bug|957937}} - (b2g-RTSP-2.0) [META] RTSP for 2.0 <br>
This is the meta bug of RTSP features in v2.0. We made a huge improvement in quality and reliability of RTSP feature in this version. <br>
= Supported Media Formats =
{| class="fullwidth-table"
|-
! align="center" style="width: 15%;" | Payload Type (PT)
! align="center" style="width: 15%;" | Name
! align="center" style="width: 10%;" | Type
! align="center" style="width: 40%;" | Description
! align="center" style="width: 20%;" | Comment
|-
| dynamic || H264 || video || H.264 video (MPEG-4 Part 10) || |
|-
| dynamic || MP4A-LATM || audio || MPEG-4 Audio || |
|-
| dynamic || H263-1998 || video || H.263 video, second version (1998) || |
|-
| dynamic || H263-2000 || video || H.263 video, third version (2000) || |
|-
| dynamic (or profile) || AMR || audio || Adaptive Multi-Rate audio || |
|-
| dynamic (or profile) || AMR-WB || audio || Adaptive Multi-Rate Wideband audio (ITU-T G.722.2) || |
|-
| dynamic (or profile) || MP4V-ES || video || MPEG-4 Visual || |
|-
| dynamic (or profile) || mpeg4-generic || audio/video || MPEG-4 Elementary Streams || |
|-
|}




= RTSP Framework in FFOS =
= Implementation =
== Class Diagram ==
== Framework Overview ==
[[File:RTSP_Framework_Overview.jpg|left|1024px]]
[[File:RTSP_Framework_Overview.jpg|left|1024px]]




= State Diagram of RTSP Source =
== TCP-Interleaved RTP ==
[[File:RTSP_Connect_and_Play_Activity_Diagram.jpg|left|1024px]]
[[File:RTSPSource_State_Diagram.jpg|left|1024px]]
[[File:RTSPSource_State_Diagram.jpg|left|1024px]]
[[File:RTSPSource_State_Diagram.svg|left|1024px]]
Confirmed users
620

edits

Navigation menu