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 get the node role ? #9

Open
DaveHu-TVU opened this issue Feb 11, 2025 · 1 comment
Open

How to get the node role ? #9

DaveHu-TVU opened this issue Feb 11, 2025 · 1 comment

Comments

@DaveHu-TVU
Copy link

typedef bool (* nmos_connection_rtp_activation_callback)(
NvNmosNodeServer *server,
const char *id,
const char *sdp);

As far as I know, this callback function is triggered when active or deactive or connect is operated on NMOS Server.
Q1: How can I confirm whether it is active/deactive or connect?
Q2: How do I determine if the trigger is sender or receiver?
thanks!

@DaveHu-TVU
Copy link
Author

DaveHu-TVU commented Feb 11, 2025

Q3: if I get the video sender deactive callback, the video stream address IP and port was changed from param sdp, even after I re-worked active, I still can't get the original video stream address IP and port, how can I get the original video stream address IP and port after deactive and active ? I tried "nmos_connection_rtp_activate" but it hung.

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

1 participant