Examples of RtpStreamReceiver


Examples of local.media.RtpStreamReceiver

         if (dir<=0)
         {  printLog("new audio receiver on "+local_port,LogLevel.MEDIUM);
            //audio_output=new AudioOutput();
            AudioFormat format=new AudioFormat(codec,sample_rate,8*sample_size,1,sample_size,sample_rate,big_endian);
            audio_output=new AudioOutput(format);
            receiver=new RtpStreamReceiver(audio_output.getOuputStream(),socket);
         }
      }
      catch (Exception e) {  printException(e,LogLevel.HIGH)}
   }
View Full Code Here

Examples of local.media.RtpStreamReceiver

         // receiver
         if (dir<=0 && audiofile_out!=null)
         {  printLog("new audio receiver on "+local_port,LogLevel.MEDIUM);
            File file=new File(audiofile_out);
            FileOutputStream output_stream=new FileOutputStream(file);
            receiver=new RtpStreamReceiver(output_stream,socket);
         }
         else
         if (dir<=0)
         {  printLog("new audio receiver on "+local_port,LogLevel.MEDIUM);
            //audio_output=new AudioOutput();
            AudioFormat format=new AudioFormat(codec,sample_rate,8*sample_size,1,sample_size,sample_rate,big_endian);
            audio_output=new AudioOutput(format);
            receiver=new RtpStreamReceiver(audio_output.getOuputStream(),socket);
         }
      }
      catch (Exception e) {  printException(e,LogLevel.HIGH)}
   }
View Full Code Here

Examples of org.red5.app.sip.stream.RtpStreamReceiver

      rtmpToRtpTranscoder = new NellyToPcmTranscoder(sipCodec);
      rtpToRtmpTranscoder = new PcmToNellyTranscoder(sipCodec, listenStream);     
    }
   
    packetProcessor = new ReceivedRtpPacketProcessor(rtpToRtmpTranscoder);   
    rtpReceiver = new RtpStreamReceiver(packetProcessor, socket, rtpToRtmpTranscoder.getIncomingEncodedFrameSize());
    rtpSender = new RtpStreamSender(rtmpToRtpTranscoder, socket, connInfo.getRemoteAddr(), connInfo.getRemotePort());
    talkStream = new TalkStream(rtmpToRtpTranscoder, rtpSender);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.