Closed
Bug 1307329
Opened 8 years ago
Closed 6 years ago
Make WebRTC usable on Yocto
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
RESOLVED
WORKSFORME
backlog | parking-lot |
People
(Reporter: ashie, Unassigned)
References
Details
Attachments
(2 files)
For bug1305341 I tested WebRTC on Yocto 2.1 on Wandboard.
I used an UVC video camera.
* Wandboard: http://www.wandboard.org/
* Yocto on Wandboard: http://wiki.wandboard.org/index.php/Getting_started_with_Yocto_on_Wandboard
* Firefox recipe: https://github.com/mozilla-japan/meta-browser
I built Firefox with WebRTC support.
When I start Firefox Hello or any other WebRTC services the camera device is recognized and it appears on the device list. But when I try to start video chat, the browser crashes. I don't investigate the detail yet.
On Ubuntu 14.04 on PC I succeeded to use WebRTC with almost same mozconfig.
I should get more information from the device and other environments.
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → Linux
Hardware: Unspecified → ARM
Comment 1•8 years ago
|
||
We'd need a crash stack at minimum to start with.
You can also run with MOZ_LOG=MediaManager:4,GetUserMedia:4,webrtc_trace:65535,signaling:4 WEBRTC_TRACE_FILE=nspr and collect logs
backlog: --- → parking-lot
Flags: needinfo?(ashie)
Reporter | ||
Comment 2•8 years ago
|
||
Flags: needinfo?(ashie)
Reporter | ||
Comment 3•8 years ago
|
||
Reporter | ||
Comment 4•8 years ago
|
||
In addition, I got the following console message:
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
...
mmap() failed: Cannot allocate memory
mmap() failed: Cannot allocate memory
out of memory: 0x0000000000151800 bytes requested
Segmentation fault
Reporter | ||
Comment 5•8 years ago
|
||
But when I run firefox on GDB, the issue doesn't reproduce (WebRTC works fine).
The stack trace is taken from a core file.
Reporter | ||
Comment 6•8 years ago
|
||
The camera device I used: Logicool C910 & C920
Comment 7•8 years ago
|
||
(In reply to Takuro Ashie from comment #6)
> The camera device I used: Logicool C910 & C920
Logicool is apparently what Logitech is known as in Japan and maybe elsewhere
Comment 8•8 years ago
|
||
The stack trace is a crash in Garbage Collection code. This implies some type of memory corruption. Note: I test with a c920 camera frequently, as do others.
You may need to build an ASAN build using clang track this down, if that will work on your platform. https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Firefox_and_Address_Sanitizer
Reporter | ||
Comment 9•6 years ago
|
||
It works with recent code:
https://github.com/webdino/meta-browser/tree/firefox-52esr
https://github.com/webdino/meta-browser/tree/firefox-60esr
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•