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

Fixed multiple dynamic relays #472

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jordancaudill
Copy link

@jordancaudill jordancaudill commented Jul 13, 2021

When trying to run a relay for multiple streams, the process would fail because of two issues:

The config "inPath" was improperly being set with the stream path. The "inPath" should just be the edge server specified in the config.

Also, the onPrePlay event handler was creating a NodeRelaySession for every single task, even when the only a single onPrePlay event was fired. This would cause NMS to always return the video data for the last entry in the task list. I fixed the onPrePlay event handler to only create a NodeRelaySession for the task associated with the onPrePlayEvent.

When trying to run a relay for multiple streams, the process would fail because of two issues:

The config "inPath" was improperly being set with the stream path. Yjr "inPath" should just be the edge server specified in the config.

Also, the onPrePlay event handler was creating a NodeRelaySession for every single task, even when the only a single onPrePlay event was fired. This would cause NMS to always return the video data for the last entry in the task list. I fixed the onPrePlay event handler to only create a NodeRelaySession for the task associated with the onPrePlayEvent.
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

Successfully merging this pull request may close these issues.

1 participant