Open
Bug 1465111
Opened 8 years ago
Updated 4 years ago
Playing video-only via WebRTC is jerky
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Tracking
()
NEW
People
(Reporter: mershtein, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Steps to reproduce:
Hello,
When playing video-only via WebRTC, does Firefox use video timestamps at all?
Or video renderer just plays video frames as soon as they are decoded?
This webpage plays H264 video encoded by IP camera via WebRTC, using Unreal Media Server.
http://umediaserver.net/umediaserver/de ... layer.html
It works fine with any browser and mobile device, but not in Firefox.
Streams with audio+video play fine, but video-only exhibit this jerkiness, as if timestamps are ignored at all.
Actual results:
http://forums.mozillazine.org/viewtopic.php?f=9&t=3040315
Expected results:
it should play according to timestamps
Sorry here is the actual playback link:
http://umediaserver.net/umediaserver/demohtml5WebRTCplayer.html
Comment 2•8 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 (20180601100102)
I've tested this report on Windows 10 x64, OS X 10.13 and Ubuntu 18.04. Currently, the provided link is running only on Firefox.
When I try to open it with different browsers I see:
in Firefox, Beta, and Nightly - the video is running, some jerkiness observed.
on Edge - black screen only
on Safari - Error: "Connection failed: playback stopped"
on Chrome - Umedia server says: "Connection failed: playback stopped"
I`m unable to compare the quality of other browsers as the video is running only in Firefox.
I would like to hear the opinion from the developer side.
The proper component would be Core:: WebRTC Audio/Video
Component: Untriaged → WebRTC: Audio/Video
Product: Firefox → Core
Stefan,
It perfectly runs on Windows 10 in Chrome (make sure you have not too old version),
on Android devices in Chrome,
on iOS devices in Safari.
Hundreds of users view it successfully every day - our logs record the data transfered.
Please retest. In all the browsers mentioned above, the playback is not jerky.
Comment 4•8 years ago
|
||
Chrome Version 67.0.3396.62 (Official Build) (64-bit)
I asked my team to check the link on 5 different Windows machines and 2 Mac OS X. On all tested platform we are seeing the same as in the video below:
https://St3fQA.tinytake.com/sf/MjY0OTI0OF83OTU1NTk4
Weird. Maybe your have port 443 prohibited in your LAN?
The actual WebRTC data is sent over port 443.
I do see on our demo server a lot of connections from you, and 0 bytes sent.
Comment 6•8 years ago
|
||
I can confirm the jerkiness on Linux/Nightly at least.
Andreas, do you know what could be the cause here ?
Flags: needinfo?(apehrson)
Updated•8 years ago
|
Rank: 20
Priority: -- → P3
Comment 7•8 years ago
|
||
It is a correct observation that we don't forward timestamps from the underlying layers. In part this is because our mechanism for feeding received video into our pipeline is old, but we are in the process of refactoring this (though early days). That refactor will make it easier to forward timestamps into the pipeline.
Relevant code is the marked lines on https://searchfox.org/mozilla-central/rev/292d295d6b084b43b70de26a42e68513bb7b36a3/media/webrtc/signaling/src/mediapipeline/MediaPipeline.cpp#2408-2417,2447,2477
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•