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

PLAT-9492: add code for exceeded maximum transcoded exception #388

Merged
merged 1 commit into from Dec 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -10,6 +10,7 @@ public class Constants {
public final static int AUTHENTICATION_ALERT_ENTRY_NOT_FOUND = 113;
public final static int AUTHENTICATION_ALERT_NO_LIVE_PERMISSION = 114;
public final static int AUTHENTICATION_ALERT_TOO_MANY_STREAMS = 115;
public final static int AUTHENTICATION_ALERT_TOO_MANY_TRANSCODED_STREAMS = 118;
public final static int AUTHENTICATION_ALERT_SEVERITY = 4;
public final static String HTTP_PROVIDER_KEY = "diagnostics";
public final static int KALTURA_REJECTED_STEAMS_SIZE = 100;
Expand Down
Expand Up @@ -349,6 +349,8 @@ private int getErrorCode(String errorType) {
return Constants.AUTHENTICATION_ALERT_ENTRY_NOT_FOUND;
case "LIVE_STREAM_EXCEEDED_MAX_PASSTHRU":
return Constants.AUTHENTICATION_ALERT_TOO_MANY_STREAMS;
case "LIVE_STREAM_EXCEEDED_MAX_TRANSCODED":
return Constants.AUTHENTICATION_ALERT_TOO_MANY_TRANSCODED_STREAMS;
default:
return -1;
}
Expand Down