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

[ADDED] Stream alternates in jsStreamInfo #611

Merged
merged 1 commit into from Nov 4, 2022
Merged

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Nov 4, 2022

jsStreamInfo will now possibly have a list of stream alternates represented by a mirror:

typedef struct jsStreamInfo
{
        (...)
        jsStreamAlternate       **Alternates;
        int                     AlternatesLen;

} jsStreamInfo;

The definition of a stream alternate is:

typedef struct jsStreamAlternate
{
        const char              *Name;
        const char              *Domain;
        const char              *Cluster;

} jsStreamAlternate;

Also added some of the new JS specific error codes.

Signed-off-by: Ivan Kozlovic ivan@synadia.com

`jsStreamInfo` will now possibly have a list of stream alternates
represented by a mirror:
```
typedef struct jsStreamInfo
{
        (...)
        jsStreamAlternate       **Alternates;
        int                     AlternatesLen;

} jsStreamInfo;

The definition of a stream alternate is:
```
typedef struct jsStreamAlternate
{
        const char              *Name;
        const char              *Domain;
        const char              *Cluster;

} jsStreamAlternate;
```

Also added some of the new JS specific error codes.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@kozlovic kozlovic requested a review from aricart November 4, 2022 20:20
Copy link
Member

@aricart aricart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kozlovic kozlovic merged commit f32b86d into dev Nov 4, 2022
@kozlovic kozlovic deleted the js_add_stream_alternates branch November 4, 2022 20:34
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.

None yet

2 participants