Streaming with libVlc 1.0.0-prel?
Posted: 23 Apr 2009 17:53
I use this API calls:
m_pMedia = libvlc_media_new (m_pLibVlc, pName, &m_vlcExc);
m_pMediaPlayer = libvlc_media_player_new_from_media (m_pMedia, &m_vlcExc);
libvlc_media_release (m_pMedia);
libvlc_media_player_play (m_pMediaPlayer, &m_vlcExc);
It works fine when my input is a file (pName). But it doesn't work when it is a stream like this
rtp://@224.0.0.21:1234
The error message is:
main access error: no access module matched "rtp"
main input error: open of `rtp://@224.0.0.21:1234' failed: no access module matched "rtp"
main input error: Your input can't be opened
What I have to change for this?
Thanks in advance
lexalow
m_pMedia = libvlc_media_new (m_pLibVlc, pName, &m_vlcExc);
m_pMediaPlayer = libvlc_media_player_new_from_media (m_pMedia, &m_vlcExc);
libvlc_media_release (m_pMedia);
libvlc_media_player_play (m_pMediaPlayer, &m_vlcExc);
It works fine when my input is a file (pName). But it doesn't work when it is a stream like this
rtp://@224.0.0.21:1234
The error message is:
main access error: no access module matched "rtp"
main input error: open of `rtp://@224.0.0.21:1234' failed: no access module matched "rtp"
main input error: Your input can't be opened
What I have to change for this?
Thanks in advance
lexalow