Simple implementation of Windows mobile streaming media

Source: Internet
Author: User

The so-called streaming media refers to the media format that uses streaming transmission to play on the Internet. Streaming media is also called streaming media. It means that a media provider uses a video transfer server to send a program as a data packet to the network. After the user decompress the data through the extract device, the program will be displayed as before sending.

Some time ago, the boss asked me to study streaming media. It means that you can access the server address on Windows Mobile to watch videos on the server online. At the beginning, I found a lot of information about streaming media. For example, DirectShow, ffmpeg, and sdl are mostly written in C ++ (a lot of things are hard to understand ). Implementation is also complicated. At the same time, I also posted a lot of materials and examples from the Internet. I have been studying it for more than a week and haven't played it successfully on Mobile. I feel a little lost. What's even more frustrating is that the windows media player of Windows Mobile also supports streaming media in a blog and provides an example. Haha (helpless ).. I have studied things that have been so simple for a long time. You only need to give a URL and a code. Ah .. let's talk about how to call and implement streaming media on Mobile!

There are two implementation methods, but I think this is no different from a method. Let's look at it first:

First, it is implemented using the AxWMPLib. AxWindowsMediaPlayer control. In fact, I think it is just like Windows media player. But several dll: ComLib. dll, OcxControls. dll, OpenNETCF. windows. forms. axHost. dll, WMPlib. dll; then you only need to specify its URL!

Second, this method is simpler. You can directly call the windows media player in Windows mobile! System. Diagnostics. Process. Start ("\ Windows \ wmplayer.exe", "http: // 192.168.2.66/myasystem/music/SHE-Chinese.wmv ");

Although both methods can achieve online playback, I still have some questions that I don't understand. I also hope that the Daniel can give me some advice:

1. How do I specify the playback address of a video file?

2. After the video is played, the video file is automatically deleted. I don't know how to control it?

3. If the network speed is too slow, it will not be downloaded after I pause. It can only be played a bit later?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.