Closed Bug 929907 Opened 11 years ago Closed 9 years ago

[Rtsp] Support Rtsp protocol in SDP (session description protocl) format

Categories

(Firefox OS Graveyard :: RTSP, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: vchang, Assigned: ethan)

References

Details

Attachments

(1 file)

104.81 KB, application/octet-stream
Details
When receiving a http response with SDP data, we should be able to open the video app to play the RTSP streaming. RTSP server may not reply the SDP via Rtsp protocol in this case. Instead of that, RTSP client sends RTSP SETUP message to server for both audio and video tracks respectively, and send RTSP PLAY message to start RTP/RTCP. Below is an example for SDP. v=0 o=StreamingServer 3591495871 1276526812000 IN IP4 127.0.0.1 s=/102400_h263_amrnb-12200_10fps_QCIF.3gp u=http:/// e=admin@ c=IN IP4 0.0.0.0 b=AS:83 t=0 0 a=control:rtsp://xxx.xxx.xxx.xxx:554/rtspLink.3gp a=range:npt=0-249.84000 m=video 0 RTP/AVP 96 b=AS:71 a=3GPP-Adaptation-Support:1 a=rtpmap:96 H263-1998/90000 a=control:trackID=65736 a=cliprect:0,0,144,176 a=framesize:96 176-144 m=audio 0 RTP/AVP 97 b=AS:12 a=3GPP-Adaptation-Support:1 a=rtpmap:97 AMR/8000/1 a=control:trackID=65636 a=fmtp:97 octet-align
blocking-b2g: --- → 1.3?
Whiteboard: [ft:ril]
Blocks: backlog-RIL/Net/Conn
No longer blocks: b2g-RTSP-1.3
blocking-b2g: 1.3? → ---
Blocking 1.4 RTSP feature.
Blocks: b2g-RTSP-2.0
No longer blocks: backlog-RIL/Net/Conn
It blocks 1.4 feature.
blocking-b2g: --- → 1.4+
Hi Vincent, is this bug describing a scenario that RTSP server replies SDP through HTTP response? How do we create such scenario? As I know, RTSP session is initialized from the client side, should the RTSP client send HTTP request first?
ni? reporter.
Flags: needinfo?(vchang)
The use case should be when you open a file contains SDP in the browser. If doing the same thing in the PC, the vlc will be launched and play the Rtsp streaming based on the url in "a=control" header. a=control:rtsp://xxx.xxx.xxx.xxx:554/rtspLink.3gp
Flags: needinfo?(vchang)
depends on carrier requirement. set to 1.4? at this moment.
blocking-b2g: 1.4+ → 1.4?
RTSP 1.4 should focus on bug fixing.
Blocks: backlog-RIL/Net/Conn
No longer blocks: b2g-RTSP-2.0
blocking-b2g: 1.4? → backlog
Component: General → RTSP
Whiteboard: [ft:ril]
Attached file rtsp-sdp.pcap
Packets captured while opening a video via SDP by VLC player.
Assignee: nobody → ettseng
blocking-b2g: backlog → 2.0M?
Is there a planning to support SDP on FFOS2.0.
(In reply to ChengLin.Wu from comment #10) > Is there a planning to support SDP on FFOS2.0. ChengLin, No. We don't plan to add RTSP features on FFOS 2.0. The possible version is 2.2 or later. :)
This is a new feature which should not block, the work involves in non-trivial changes.
blocking-b2g: 2.0M? → backlog
blocking-b2g: backlog → ---
SDP links can be found in https://bugzil.la/995879#c0 Link: http://tiv-dmz.homeip.net User: VQGTester Password: VQG8017 Then, go to MSM -> MSM.1-6 - Basic Video Streaming. I clicked the 7th link in Firefox Desktop on Ubuntu and OS X repectively. VLC player will pop up and play the video. The 8th link also worked but it's file extension is .3gp instead of .sdp. The other links didn't work. I also tried with my Android 5.0 phone. I could open the 7th link by choosing "Open with Photos" or "Open with Video Player", but "Open with VLC" crashed.
I later found that link #7 is merely a 302 redirect to an RTSP link.
Blocks: 1168220
No longer blocks: 1168220
No one is actually working on RTSP for FxOS right now.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: