1 Reply Latest reply: Apr 24, 2013 9:28 AM by rukbat RSS

    Problems while implementing video chat using JMF.

    1004610
      Hello,

      I am newbie in JMF, and getting some problem while implementing application.

      ->My basic algo of application:
      IMPLEMENTATION (BASIC-ALGORITHM)
      1) First need to capture video\audio from computer device(Cam\microphone).
      2) Need to send on network with the help of RTP(Real Time Protocol).
      3) Captured media at one end and play this media stream at other end on Network(Using RTP).
      4) When above three steps complete then i need to extend for peer to peer video chat .

      ->What i have implemented is given below:
      1)I have created datasource with the help of ds = Manager.createDataSource(new MediaLocator("vfw://0")); and i need to show this captured video on the jpanel so next i can send this datasource on network with the help of RTP.
      Important:I created Player with the help of player = Manager.createRealizedPlayer(new MediaLocator("vfw://0")); and successfully add componet of player in jframe, but for sending media stream on Network we need processor right? but for processor creation we need to create datasource.

      So what i need is capture video from webcam show in screen and same time send on network.
      Please guide.