Closed
Bug 1158661
Opened 9 years ago
Closed 9 years ago
[FFOS2.0][Woodduck][HOMO] RTSP video in 720 H-264 Plays abnormal which can hear the audio only without the video shows.
Categories
(Firefox OS Graveyard :: Gaia, defect, P2)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1151760
People
(Reporter: sync-1, Assigned: jhao, NeedInfo)
References
Details
Attachments
(12 files, 1 obsolete file)
1.54 MB,
text/x-log
|
Details | |
4.45 MB,
application/octet-stream
|
Details | |
100.57 KB,
image/png
|
Details | |
10.84 KB,
patch
|
Details | Diff | Splinter Review | |
1.99 MB,
application/octet-stream
|
Details | |
8.00 MB,
application/x-download
|
Details | |
2.65 MB,
application/x-download
|
Details | |
10.00 MB,
application/x-download
|
Details | |
3.75 MB,
application/x-download
|
Details | |
10.00 MB,
application/x-download
|
Details | |
10.00 MB,
application/x-download
|
Details | |
10.93 KB,
patch
|
Details | Diff | Splinter Review |
DEFECT DESCRIPTION: when you playing an specific video in AT4 server ,only hear the audio but can't show the video. REPRODUCING PROCEDURES: 1-Conect the DUT on a Network 2-Open URL: http://186.148.57.28/altmp/ 3-select the first video to play, can hear the audio without the video shows. EXPECTED BEHAVIOUR: can play the rtsp normal. ASSOCIATE SPECIFICATION: TEST PLAN REFERENCE: TOOLS AND PLATFORMS USED: USER IMPACT: High REPRODUCING RATE: 5/5 For FT PR, Please list reference mobile's behavior:
Comment 3•9 years ago
|
||
Hi Ethan, Could you please help to check the problem? Thanks!
Blocks: Woodduck, Woodduck_Blocker
Flags: needinfo?(ettseng)
Comment 4•9 years ago
|
||
There are four tracks in this clip: two video and two audio tracks. I am not sure whether this is a clue. Need to investigate it more deeply. Jonathan, could you help to look into this issue?
Flags: needinfo?(ettseng) → needinfo?(jhao)
Assignee | ||
Comment 5•9 years ago
|
||
On 3.0 branch, video will show if we apply the patch of bug 1151760, attachment 8597076 [details] [diff] [review], which is waiting to be checked in. Although it got stuck at the 5th second for a few seconds, before the video starts to show. So, I think that patch will solve most of the problem, but there are still some minor issues. I will also rebase that patch for 2.0 uplift.
Flags: needinfo?(jhao)
Assignee | ||
Comment 6•9 years ago
|
||
As you can see in the log in RTSPConnectionHandler::addTimeStamp below, at the 5th second, the mediaTime jumped to 26.17 seconds, even though the rtpTime increased smoothly. Something must be wrong with the calculation of media time. 04:32:51.588 5570 6102 I ETHAN : track 0 rtpTime=614000376 mediaTimeUs = 4879866 us (4.88 secs) 04:32:51.678 5570 6102 I ETHAN : track 0 rtpTime=614004130 mediaTimeUs = 4921577 us (4.92 secs) 04:32:52.108 5570 6102 I ETHAN : track 0 rtpTime=614007884 mediaTimeUs = 4963288 us (4.96 secs) 04:32:52.388 5570 6102 I ETHAN : track 0 rtpTime=614011638 mediaTimeUs = 5005000 us (5.00 secs) 04:32:52.548 5570 6102 I ETHAN : track 0 rtpTime=614015391 mediaTimeUs = 5046700 us (5.05 secs) 04:33:08.918 5570 6102 I ETHAN : track 0 rtpTime=614019145 mediaTimeUs = 26174411 us (26.17 secs) 04:33:18.598 5570 6102 I ETHAN : track 0 rtpTime=614049175 mediaTimeUs = 33537077 us (33.54 secs) 04:33:18.598 5570 6102 I ETHAN : track 0 rtpTime=614075451 mediaTimeUs = 33829033 us (33.83 secs) 04:33:18.618 5570 6102 I ETHAN : track 0 rtpTime=614079205 mediaTimeUs = 33870744 us (33.87 secs) 04:33:18.638 5570 6102 I ETHAN : track 0 rtpTime=614082959 mediaTimeUs = 33912455 us (33.91 secs)
Updated•9 years ago
|
Flags: needinfo?(sync-1)
Updated•9 years ago
|
Flags: needinfo?(sync-1)
Assignee | ||
Comment 7•9 years ago
|
||
This patch is the patch in bug 1151760 rebased to 2.0M.
Assignee: nobody → jhao
Status: NEW → ASSIGNED
Comment 8•9 years ago
|
||
Hi Reporter, Can you try the patch per comment 7? Thanks!
Flags: needinfo?(sync-1)
hi I have tested the patch from comment 7. The RTSP video can show the video normal , so i think it's ok now . thanks.
Reporter | ||
Comment 10•9 years ago
|
||
sorry, it's strange, i test again, but this time the video still can't show and only hear the voice.. I think there still some little problems.
Assignee | ||
Comment 11•9 years ago
|
||
Could you tell me the reproducing rate?
Reporter | ||
Comment 12•9 years ago
|
||
video shows normal only the first time after I use the patch . now I tryed a lot of times(about 10 times), but always play abnormal.
Comment 13•9 years ago
|
||
Hi Reporter, Can you describe the syndrome of "play abnormal"? Can you provide new log? Thanks!
Assignee | ||
Comment 14•9 years ago
|
||
Could you try with this patch again? I've enlarged the timeout.
Attachment #8598435 -
Attachment is obsolete: true
Reporter | ||
Comment 15•9 years ago
|
||
hi sometimes the video plays normal, but when it plays abnormal, can hear the audio only and the video just shows loading progressbar .
Comment 16•9 years ago
|
||
Hi Reporter, Can you provide new log? Thanks!
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 19•9 years ago
|
||
Created an attachment (id=1257373) video playing log i think if the first video's rtsp stream from http://186.148.57.28/altmp/ is to slow? so sometimes the video can't play well. because when i choose the second video to play ,it can play very well.
Comment 20•9 years ago
|
||
Hi Jonathan, Could you please help to check the log per comment 19 again? Thanks!
Flags: needinfo?(jhao)
Assignee | ||
Comment 21•9 years ago
|
||
Hi Reporter, When I connected to the WiFi hotspot in our office (which is very fast), I could play normally. But when I connected to one of my colleague's hotspot, the abnormal case happened. May I ask whether your WiFi network is stable? I wonder if the loading progress bar is because of unstable network connection. Or, maybe as you said, it's because the first stream is too slow.
Flags: needinfo?(jhao)
Reporter | ||
Comment 22•9 years ago
|
||
hi wifi network here is stable, but the network speed is slow.
Comment 23•9 years ago
|
||
(In reply to sync-1 from comment #22) > hi > wifi network here is stable, but the network speed is slow. Could you use tcpdump to record RTSP/RTP packets, and attach the pcap file here? It might be helpful by investigating your captured packets.
Assignee | ||
Comment 24•9 years ago
|
||
Also, it would be great if you could record the symptom of "abnormal" playing as a video and upload it for us.
Assignee | ||
Comment 25•9 years ago
|
||
Thanks a lot!
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 28•9 years ago
|
||
Created an attachment (id=1258730) the tcpdump log.part1
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 31•9 years ago
|
||
Created an attachment (id=1258735) the tcpdump log.part2
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 34•9 years ago
|
||
Created an attachment (id=1258767) video playing.part2
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 37•9 years ago
|
||
Created an attachment (id=1258786) video playing.part4 this video shows an abnormal situation.. sometimes the loading progressbar shows at the start of the video will not disappear and shows all the time.
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 40•9 years ago
|
||
Created an attachment (id=1258768) video playing.part3
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Reporter | ||
Comment 43•9 years ago
|
||
Created an attachment (id=1258766) video playing.part1
Assignee | ||
Comment 44•9 years ago
|
||
From the video, it looks like the 1-minute timer times out. When I tried, the gap at 5 seconds only lasts no more than 30 seconds. However, it seems that your slower network condition could make that gap lasting more than 60 seconds. You can find this line in the patch, +static int64_t kAccessUnitTimeoutUs = 60000000ll; and manually change the 60000000 to a bigger number. And yet, I don't think making the timeout larger just to solve this bug is a good thing, because that timeout is used to detect server disconnection. In fact, that value is only 10 seconds in the master branch. To make it much larger will make us wait for more than 60 seconds to know that server has disconnect. Maybe it's not worth it to change that value just to make this video work.
Assignee | ||
Comment 45•9 years ago
|
||
Hi Reporter, Thanks very much for your help. I hope this patch will work, but you may have to wait for over a minute while it stuck at the 5th second.
Attachment #8598522 -
Attachment is obsolete: true
Assignee | ||
Comment 46•9 years ago
|
||
Previously, the video stops because we have a 10-second timeout, which is used to detect server disconnection. The weird thing with this video is that, it may stop sending us video packets for 30 seconds or even a minute. After we assume it's dead, it restarts again, but we have already closed the video track. With this patch, now we don't close the video track if the gap is more than 10 seconds. When it timeouts, we check the network status. If the network is disconnected, it closes; otherwise, it waits indefinitely for the server to send us video packets again.
Reporter | ||
Comment 47•9 years ago
|
||
hi I tryed the new patch, and it seems like the same. the video still plays abnormal sometimes. maybe sometimes the rtsp stream send video packets more slow than we think.
Assignee | ||
Updated•9 years ago
|
Attachment #8598435 -
Attachment is obsolete: false
Comment 48•9 years ago
|
||
Hi Kai-Zhen, The problem now is identified as server issue we will try to clarify with operator. However, the patch is also fixed on master. Could you help to land this on 2.0M? Thanks!
Flags: needinfo?(kli)
Comment 49•9 years ago
|
||
The patch seems not reviewed. Could you find someone review the patch? Thanks!
Flags: needinfo?(kli) → needinfo?(jhao)
Comment 50•9 years ago
|
||
BTW, patch on master get reviewed is enough.
Assignee | ||
Comment 51•9 years ago
|
||
The patch on master was reviewed here: https://bugzilla.mozilla.org/show_bug.cgi?id=1151760#c11
Flags: needinfo?(jhao)
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Summary: [FFOS2.0][Woodduck][HOMO]RSTP video in 720 H-264 Plays abnormal which can hear the audio only without the video shows. → [FFOS2.0][Woodduck][HOMO] RTSP video in 720 H-264 Plays abnormal which can hear the audio only without the video shows.
You need to log in
before you can comment on or make changes to this bug.
Description
•