Home > Net >  Written in VS video playback, how to make, for bosses to help
Written in VS video playback, how to make, for bosses to help

Time:10-08

I want to put the camera to record video in SD card, and then made a form vs, play video, but I don't know how to play, show just a little big,

CodePudding user response:

Depends how you want to play
Example:
http://bbs.cskin.net/thread-4431-1-1.html
According to the site can play media, can also be local
VLC's format playback library is a little big more than 80 M (almost all the media format),

Would never make RSTP service (VLC support, the code also support), so the media preview above using IIS, IIS directory to SERVER_FILES folder,
Set the Server folder, SystemNet_define. Cs file socket:
Public string Transport_StreamMedia="http://127.0.0.1:8081";//media file preview address
For IIS address, port, such as IIS to port 80, direct "http://127.0.0.1"

CodePudding user response:

1, if you use it you will need to receive the corresponding format of flow, or to use JS, flash receiving RTMP, HLS etc.
2 method, if it is a RTSP, you need to find the corresponding plug-in, but has limit to the browser, such as VLC
  •  Tags:  
  • C#
  • Related