I want to limit number of published transcoded streams to save server resources. For me it does not makes much sense to upscale live stream of say 480x360 to HD, as this will not give any quality improvement but will have effect on CPU and disk resources usage (live streams are to be recorded). While I solved the recording part with custom stream recorder, it would be more transparent to solve it on transcoder level instead.
I read How-to-control-which-streams-get-transcoded-using-server-side-API, but I'm not sure in two things:
1) That onCodecInfoVideo in my source stream handler will be called before any transcoded streams created, thus I will not be able to set resolution into source streams properties.
2) That it is guaranteed that onCodecInfoVideo will be called before isLiveStreamTranscode called, so I will be able to get target destination from created transcoded stream.