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

Status messaging, keyframe intervals #611

Merged
merged 2 commits into from
Feb 15, 2024
Merged

Status messaging, keyframe intervals #611

merged 2 commits into from
Feb 15, 2024

Conversation

frostbyte73
Copy link
Member

No description provided.

c.Info.UpdatedAt = time.Now().UnixNano()
if c.Info.Error != "" {
c.Info.Status = livekit.EgressStatus_EGRESS_FAILED
c.p.Stop()
Copy link
Member

Choose a reason for hiding this comment

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

so we no longer log it as failed? or stop the process?

Copy link
Member Author

Choose a reason for hiding this comment

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

L401-403:

		case livekit.EgressStatus_EGRESS_ABORTED,
			livekit.EgressStatus_EGRESS_FAILED:
			c.p.Stop()

The difference is just that we now mark it as failed when setting the error instead of relying on whether or not Error is empty

@frostbyte73 frostbyte73 merged commit 1c57bde into main Feb 15, 2024
7 checks passed
@frostbyte73 frostbyte73 deleted the status-updates branch February 15, 2024 22:50
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.

3 participants