server
server copied to clipboard
ONPREM-448: Adjust LiveEntry::getStreamName() to use a switch statement based on the value of $liveBackend
This pull request adjusts the LiveEntry::getStreamName()
method to use a switch statement based on the value of the $liveBackend
variable. This allows for different behavior depending on the value of $liveBackend
, specifically for the LIVE_BACKEND_WOWZA
and LIVE_BACKEND_LIVE_NG
cases. This change improves the flexibility and maintainability of the code.