EricssonResearch / EricssonResearch/openwebrtc
using videoparse in test client application by using custom gst
- Dominant language
- C
- Stars
- 1.8k
- Forks
- 531
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
We are trying to read a raw video source file and use it in the test client application by using gustom gst source.
We have added custom gst video source in the test client application as follows.
# define CUSTOM_VIDEO_SOURCE "/gst_test_video21 ! videoparse width=640 height=360 format=4 ! videoscale"
The command we used for creating the raw video source file is as follows.
gst-launch-1.0 v4l2src ! video/x-raw, width=640, height=360 ! filesink location=/gst_test_video21
When we try to make a call in the application, we are getting the following error.
0:00:08.402580793 13825 0xf19060 ERROR owrtransportagent owr_transport_agent.c:777:handle_new_send_source: Failed to link "(null)" with transport bin
==== Error message start ====
Error in element videoparse0.
Error: Internal data stream error.
Debugging info: gstrawparse.c(469): gst_raw_parse_loop (): /GstPipeline:transport-agent-1/GstBin:bin1/GstVideoParse:videoparse0:
stream stopped, reason not-negotiated
==== Error message stop ====
But it is working fine with the test_gst_io.c application. We are able to see the video fine. But
When trying to use the same CUSTOM_VIDEO_SOURCE in test_client application and sending it to the cloud, we are facing some issues.
Please suggest on this issue.
Contributor guide
Research direction
Start by comparing how the custom GStreamer video source is used in test_gst_io.c and in the test client application. Reproduce the not-negotiated error and investigate the difference in those two paths; done means identifying why the source works in one application but fails when sending video to the cloud.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100