Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run plugin with gst-launch #26

Open
josephGhobadi opened this issue Oct 23, 2021 · 3 comments
Open

how to run plugin with gst-launch #26

josephGhobadi opened this issue Oct 23, 2021 · 3 comments

Comments

@josephGhobadi
Copy link

Hi
i want to launch this plugin in gstreamer but i have no idea how this should be done.

can you please help me?

i think it should be like this

sender side:
mprtp-scheduler -> mprtp-sender

receiver side
mprtp-receiver -> mprtp-playouter

@balazskreith
Copy link
Owner

Hi,

Your assumption is right, mprtp_scheduler -> .... -> mprtp_sink, and mprtp_receiver -> ... -> mprtp_reciver
I need to check, but I think you should take a look the mediapipeline subproject under tests.
for instance https://github.com/balazskreith/gst-mprtp/blob/master/tests/mediapipeline/snd_pipeline.c
assembling a sender for the mprtp, and https://github.com/balazskreith/gst-mprtp/blob/master/tests/mediapipeline/rcv_pipeline.c for the receiver.

@uoosef
Copy link

uoosef commented Mar 26, 2022

hello,
I managed to compile the docker image and solve its numerous issues through the gstreamer and gst-mprtp build process.
but I'm unable to run media pipeline sender or receiver in the tests folder. it keeps crashing with the following message:

Errors during parse: None, returned with: 1

(snd_pipeline:361599): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed
Segmentation fault (core dumped)

I inspect the snd_pipeline.c and it seems this line of code is the cause of the problem

 session->snd_transfer_params = make_snd_transfer_params(
      _null_test(sndtransfer_params_rawstring, sndtransfer_params_rawstring_default)
  );

but I have no idea how to fix it, can you help me, please?

sorry for bad english, thanx

@balazskreith
Copy link
Owner

your English is not worst than mine.

_null_test( there is a custom written assertation, and it means you are missing a parameter somewhere.
can you check the tester there are several media pipeline I have setup.

And please write me an email so the communication and response can be a bit faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants