Home > Back-end >  Mediaplayer control network video broadcast
Mediaplayer control network video broadcast

Time:09-18

Now create a new android project for video broadcast network, the form to add two controls, MediaPlayer, MediaplayerControl, code is as follows:

MediaPlayer1. FileName:='http://... ';
MediaPlayer1. Play;

Local video file is normal, the network video with sound, don't display images, what reason be excuse me?

CodePudding user response:

Teachers, the question is too simple or you used?

CodePudding user response:

Do not understand, just tell me: you don't have corresponding decoder?

CodePudding user response:

System comes with example was also a voice didn't image,

CodePudding user response:

MediaPlayer can't broadcast network file, unless you will download it to the local hard disk, to play it again,

CodePudding user response:

Upstairs, please the teacher, network video is played with what controls?

CodePudding user response:

You can try the VLC plugin, open source software is very powerful, install VLC Media Player, import it ActiveX controls, two lines of code is OK,

CodePudding user response:

Thank lingqingzhi friends, controls installed on Windows platform is available, but the android platform is gray, do not use ah,

CodePudding user response:

Video broadcast network, manufacturer s SDK, can realize,

CodePudding user response:

refer to 7th floor prabbit response:
thank lingqingzhi friends, controls installed on Windows platform is available, but the android platform is gray, do not use ah,


Android does not support Windows ActiveX, written in Delphi mobile end there will be a lot of pit, write Android audio and video programs, to practical vitamio,
  • Related