Differentiate between RTMP pull and SRT pull in the API

Github

Github
API
Improved stream mode detection to automatically derive from ingest URLs based on protocol scheme (SRT, RTMP, or default mode) across livestream routes for more consistent handling.