-
Notifications
You must be signed in to change notification settings - Fork 0
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
Nmos receiver plugin #18
Conversation
2c3c774
to
33699cd
Compare
dynamically changing pipelines
0e8f0ea
to
56b4075
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comments in the audio receiver and video receiver are complementary to each other. Ensure to cross-check the comments in the audio file with those in the video file, and vice versa.
cpp/libs/gst_nmos_plugins/src/gst_nmos_video_receiver_plugin.cpp
Outdated
Show resolved
Hide resolved
cpp/libs/gst_nmos_plugins/src/gst_nmos_video_receiver_plugin.cpp
Outdated
Show resolved
Hide resolved
cpp/libs/gst_nmos_plugins/src/gst_nmos_audio_receiver_plugin.cpp
Outdated
Show resolved
Hide resolved
cpp/libs/gst_nmos_plugins/src/gst_nmos_audio_receiver_plugin.cpp
Outdated
Show resolved
Hide resolved
cpp/libs/gst_nmos_plugins/src/gst_nmos_audio_receiver_plugin.cpp
Outdated
Show resolved
Hide resolved
cpp/libs/gst_nmos_plugins/src/gst_nmos_audio_receiver_plugin.cpp
Outdated
Show resolved
Hide resolved
e78fbc5
to
460f2cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok but I have a few comments
460f2cc
to
04b289a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Added nmos audio and video receiver as well as used classes to implement RAII design architecture so that resources are well freed at shutdown (changed in sender as well). Also made few small changes to the JSON configs to better represent the capabilities of each plugin when represented at the NMOS interface and changed all
gchar*
tostd:string
for better code maintainability.Usage example
Here are some example pipelines I used while testing
Video Sender:
Video Receiver:
Audio Sender:
Audio Receiver:
Notes
There's still some issues with the audio receiver with my tests, not being able to properly change between sources and needing to be changed back then changed to the new source to effectively make the change.
Also in the future it might be better to merge all utils files into a single one where all plugins can get their functions and data structures from a centralized and shared file, to reduce redundancy across the codebase.