EricssonResearch / EricssonResearch/openwebrtc

owr_local_media_source_request_source: Failed to link source -> capsfilter

Open
#607 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.8k
Forks
531
PR merge metrics
No merged PRs in 30d

Description

Hi,
when I used the openwebrtc Android NativeCall, I had a problem.
I try to run the openwebrtc in samsung pad. when I set the weight and height of the local camera, it could not see the view of myself. I captured the log as fallowing:
_04-26 16:38:55.721: D/Camera(11281): app passed NULL surface
04-26 16:38:55.726: I/gst_log(11281): 0x5e1eae30 ERROR owrlocalmediasource owr_local_media_source.c:689:owr_local_media_source_request_source: Failed to link source -> capsfilter
04-26 16:38:56.946: D/Camera(11281): app passed NULL surface
04-26 16:38:58.001: E/g_printerr(11281): ==== Error message start ====
04-26 16:38:58.001: E/g_printerr(11281): Error in element video-source.
04-26 16:38:58.001: E/g_printerr(11281): Error: Internal data flow error.
04-26 16:38:58.001: E/g_printerr(11281): Debugging info: gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:local-video-capture-source-bin-0/GstAndroidVideoSource:video-source:
04-26 16:38:58.001: E/g_printerr(11281): streaming task paused, reason not-linked (-1)
04-26 16:38:58.001: E/g_printerr(11281): ==== Error message stop ====_

but when I use the defaut widght and height, it was right, I can see the view of myself.

Thanks so much!

Contributor guide

Open the contributing guide

Research direction

Inspect owr_local_media_source.c around line 689 and the reported local-video-capture-source pipeline. Reproduce the problem on the Samsung Android device using non-default camera width and height, then compare it with the default dimensions; done means the source links successfully and the local camera view appears without the not-linked error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.