axvlc in visual studio c++ 2008
Posted: 26 Jan 2010 13:25
I have been build a media player that play a radio via URL and at the same time, make a multicast stream. The code is:
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
axVLCPlugin1->playlistClear();
axVLCPlugin1->addTarget(textBox1->Text,":sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=ts,dst=239.0.0.2:5501}",AXVLC::VLCPlaylistMode::VLCPlayListAppendAndGo, 0);
axVLCPlugin1->play();
}
The radio play without problems but when I start a wireshark capture the multicast packets not apper. Can somebody help me? Probably I made something wrong...
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
axVLCPlugin1->playlistClear();
axVLCPlugin1->addTarget(textBox1->Text,":sout=#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2,samplerate=44100}:std{access=udp,mux=ts,dst=239.0.0.2:5501}",AXVLC::VLCPlaylistMode::VLCPlayListAppendAndGo, 0);
axVLCPlugin1->play();
}
The radio play without problems but when I start a wireshark capture the multicast packets not apper. Can somebody help me? Probably I made something wrong...