title: Android App to Stream IP Camera using P2P mode over Mobile port?
body: <p>I am trying to stream the video via IP camera on an Android App. I have been successful to get the video using the following:</p>
  
  <ol>
  <li>RTSP using Media Player and Surface View.</li>
  <li>RTSP using Video View.</li>
  <li>Redirecting to VLC for streaming the video. </li>
  <li>Redirecting to Native</li>
  <li>Video Player for streaming the video.</li>
  </ol>
  
  <p>Now, all these cases are working but with a lag of 7-8 seconds on average even over the local network.</p>
  
  <p>I see some apps that steam without any lag even on remote network, that use <strong>mobile port (18600)</strong>. This port is normally associated with P2P mode on a camera.(This assumption is purely based on my understanding as per the following settings available on my camera set up interface, which shows: Mode- P2P, Port - 18600, RealTime - Normal).</p>
  
  <p>Can someone help me understand how we can connect to mobile port of the IP camera on P2P mode? and How this mode does not show lag where as RTSP does?</p>
  
  <p>Thanks in advance.</p>