Closed Bug 984295 Opened 8 years ago Closed 4 years ago

[Rtsp] Serialize Rtsp controller requests

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: vchang)

Details

(Whiteboard: [p=5])

Attachments

(1 file)

There is a case that RtspConnectionHandler may receive multiple requests while previous request is in process. For instance, we may receive Play request and waiting for 200 OK from the server. Before 200 Ok is received from the server, we may have a Seek request and send a Pause request following with Play request. The server may response 4xx error in this case. 
We observe this when trying to fix bug 951278.
Component: General → RTSP
Blocks: 951278
Assignee: nobody → vchang
Attached patch WIP patchSplinter Review
This patch is necessary if you want to verify bug 951278.
Whiteboard: [p=3]
Target Milestone: --- → 1.4 S6 (25apr)
Whiteboard: [p=3] → [p=5]
blocking-b2g: --- → backlog
Just for reference.

A similar problem was found and fixed in bug 996688, which caused crash if the following events happen in RtspConnectionHandler:
play() -> disconnect() -> parsePlayResponse()
Target Milestone: 1.4 S6 (25apr) → 2.0 S3 (6june)
No longer blocks: 951278
Target Milestone: 2.0 S3 (6june) → ---
blocking-b2g: backlog → ---
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.