Confirmed users
620
edits
Ethantseng (talk | contribs) No edit summary |
Ethantseng (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
= Background = | == Background == | ||
== Terminology == | === Terminology === | ||
The major protocols involved in our RTSP streaming implementation are below. | The major protocols involved in our RTSP streaming implementation are below. | ||
* '''RTSP: Real Time Streaming Protocol.''' An application-level protocol for control over the delivery of data with real-time properties. Defined in RFC 2326. | * '''RTSP: Real Time Streaming Protocol.''' An application-level protocol for control over the delivery of data with real-time properties. Defined in RFC 2326. | ||
| Line 6: | Line 6: | ||
* '''RTCP: RTP Control Protocol.''' Provides out-of-band statistics and control information for an RTP session. Defined in RFC 3550. | * '''RTCP: RTP Control Protocol.''' Provides out-of-band statistics and control information for an RTP session. Defined in RFC 3550. | ||
* '''SDP: Session Description Protocol.''' A format for describing streaming media initialization parameters. Defined in RFC 4566. | * '''SDP: Session Description Protocol.''' A format for describing streaming media initialization parameters. Defined in RFC 4566. | ||
== Reference == | === Reference === | ||
* RTP audio video profile - http://en.wikipedia.org/wiki/RTP_audio_video_profile | * RTP audio video profile - http://en.wikipedia.org/wiki/RTP_audio_video_profile | ||
<br> | <br> | ||
= History (Important Bugs) = | == History (Important Bugs) == | ||
{{Bug|831645}} - Support rtsp streaming framework | * {{Bug|831645}} - Support rtsp streaming framework | ||
This is the first bug of RTSP streaming feature on B2G, which implemented most of the RTSP framework in Firefox OS. | ** This is the first bug of RTSP streaming feature on B2G, which implemented most of the RTSP framework in Firefox OS. | ||
{{Bug|992568}} - [RTSP] Refactor RtspChannel to support HTTP->RTSP redirection and rendering inside the browser | * {{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. | ** 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. 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. This bug serves as the collective implementation of several features, including: | ||
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. | *** Support RTSP in URL bar and <iframe>. | ||
This bug serves as the collective implementation of several features, including: | *** Support HTTP->RTSP redirection. | ||
* Support RTSP in URL bar and <iframe>. | *** Render RTSP inside the browser. | ||
* Support HTTP->RTSP redirection. | |||
* Render RTSP inside the browser. | |||
{{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> | ** 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> | ||
<br> | |||
= Supported Media Formats = | == Supported Media Formats == | ||
{| class="fullwidth-table" | {| class="fullwidth-table" | ||
|- | |- | ||
| Line 53: | Line 51: | ||
|- | |- | ||
|} | |} | ||
<br> | |||
== Implementation == | |||
= Implementation = | === Framework Overview === | ||
== Framework Overview == | |||
[[File:RTSP_Framework_Overview.jpg|left|1024px]] | [[File:RTSP_Framework_Overview.jpg|left|1024px]] | ||
== TCP-Interleaved RTP == | === TCP-Interleaved RTP === | ||
[[File:RTSP_Connect_and_Play_Activity_Diagram.jpg|left|1024px]] | [[File:RTSP_Connect_and_Play_Activity_Diagram.jpg|left|1024px]] | ||
[[File:RTSPSource_State_Diagram.jpg|left|1024px]] | [[File:RTSPSource_State_Diagram.jpg|left|1024px]] | ||