Results 1 to 8 of 8

Thread: How to switch transcoder list?

  1. #1

    Question How to switch transcoder list?

    Hello!

    That I have not pointed out in the logs silence.....

    		public void onPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend)
    		{
    			System.out.println("onPublish[" + stream.getContextStr() + "]: isRecord:" + isRecord + " isAppend:" + isAppend); 							
    			stream.setLiveStreamTranscoderList("/usr/local/WowzaStreamingEngine-4.1.2/transcoder/templates/mylist.xml");			
    						
    		}
    Tnx!

  2. #2

    Default

    Hi there.

    When using System.out.println() you have to run Wowza in stand-alone mode for the message to be output to the console. It will not get written to the logs.

    To write to the log file you would need to use getLogger().info(“YOUR-LOG-HERE”);

    Hope this answers your question.

    Salvadore

  3. #3

    Default

    It is not in the log, but the fact that transcoding on the fly, I can not change ... and the error logs do not give ...

  4. #4

    Default

    Me how to change the transcoder, because this team does not help but only cancels the current transcoder

    stream.setLiveStreamTranscoderList("/usr/local/WowzaStreamingEngine-4.1.2/transcoder/templates/mylist.xml");

  5. #5

    Default

    It might help if you explain what you are trying to do.

    Please be as clear as possible with your explanation.

    Thanks,

    Salvadore

  6. #6

    Default

    By default, I adjusted myself to a specific transcoder application sheet.
    But for some threads I need to use a different transcoder sheet.
    How can i do this?

  7. #7

  8. #8

    Default

    You could take a look at the ILiveStreamTranscoderNotify and ILiveStreamTranscoderActionNotify interfaces. and dynamically choose your template file. Setup the following event handlers as indicated in this post. Then you can choose the template required by leveraging the liveStreamTranscoder object within the ILiveStreamTranscoderActionNotify.onInitBeforeLoadTemplate event handler as follows:
    liveStreamTranscoder.setTemplateName("TemplateName.xml");
    Regards,

    Salvadore

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •