Results 1 to 1 of 1

Thread: Matching the original stream while recording a transcoded stream

  1. #1

    Default Matching the original stream while recording a transcoded stream

    HELP I'm attempting to upgrade a Module that's been working great for forever to use an MP4 H.264/AAC Transcoded from MP4/ H.264/Speex for recording so that we can view our content without Flash.

    I've configured the application to use the default audioonly.xml template for the moment.

    The Module currently needs properties passed by the client through the connection which aren't, to my knowledge, available through the transcoded stream.

    I know which streams are transcoded since they are named stream_aac, but they have a null client and I don't quite know how to relate it to the original so that I can get the parameters I need.

    In my onPublish() method, I've tried in vain to get to the transcoder. Unexpectedly, the stream, stream_aac does not appear to have a transcoder when I check with the following code:
    	public void onPublish(IMediaStream stream, String streamName, boolean isRecord, boolean isAppend) {
    		getLogger().info("onPublish stream name: " + streamName);
    		if (stream.isTranscodeResult()) {
    			getLogger().info("onPublish isTranscodeResult == true");	
    		else {
    			getLogger().info("onPublish isTranscodeResult == false");
                            // There's no sense in bothering to continue
                    // both of these return
                   if (stream.getLiveStreamTranscoders().size() == 0) return;
                   if (stream.getLiveStreamTranscoder("transcoder") == null) return;
    Is there any way to do this?

    I'd be thankful for any suggestions.
    Last edited by Leopold O'Donnell; 04-20-2013 at 01:30 PM. Reason: Adding more information

Similar Threads

  1. Replies: 8
    Last Post: 04-10-2014, 02:22 PM
  2. original stream and delay to get 360p
    By nvanhaute1 in forum AddOn: Transcoder
    Replies: 1
    Last Post: 09-02-2013, 02:20 PM
  3. Losting original stream name
    By rodsju in forum AddOn: Transcoder
    Replies: 11
    Last Post: 05-23-2012, 05:46 AM
  4. Keep original stream name with ModuleMediaWriterFileMover
    By hundstage in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 3
    Last Post: 02-19-2012, 02:56 AM

Posting Permissions

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