title: LibVLC 3.x how to open stream described by SDP file or stream containing credentials
body: <p>Im using libVLC to playback video in my application,</p>
  
  <p>to open local files im using:
  libvlc_media_new_path(path_to_file);</p>
  
  <p>to open stream im using:</p>
  
  <p>libvlc_media_new_location(media_location)</p>
  
  <p>it works for most stream addresses, but </p>
  
  <p>i can't play streams containing SDP file in address, for example:</p>
  
  <p><a href="http://192.168.10.17/live.sdp" rel="nofollow noreferrer">http://192.168.10.17/live.sdp</a> (its stream in my local network)</p>
  
  <p>also i can't player stream containing credentials like</p>
  
  <p>rtsp://user:user123@192.168.10.156:8081</p>
  
  <p>VLC application can play both stream without sweat.</p>
  
  <p>So anyone knows how to open sdp file using libVLC and how to open stream with credentials in address in libVLC?
  am i missing any methods?</p>
  
  <p>thanks</p>