Author: huaqing Vision
Chapter Fourth Use instructions
Start Darwin streaming Server
View server IP Address
Open Eclipse Import spydroid project, modify default IP to server IP address.
Port 554 is the default port for RTSP, preferably not modified. If you want to modify, please set the server port together.
After the completion of the compilation run, run successfully first point to the top right c
HTML5 added a vedio tag to play the video directly, but the format of the playback is limited.
Here will ipcamera video conversion ogg format, and then through the HTML5 page playback, playback is very clear. Ipcamera to support RTSP and other video streaming protocols, Taobao more than 100 of many ipcamera are supported. All the operations here are performed on the same computer.
Software to install on the computer:VLC V2.1.3 video transcoding soft
) { Toast.maketext (Getapplicationcontext (), "Switch to vertical screen", toast.length_short). Show (); } }What needs to be said here is that the IF statement in the code determines whether the current device is a horizontal or vertical screen, and then has its corresponding action. Before the screen switch to set a different layout, although the ability to display a different layout, but this method is meaningless, because the screen to switch to a different layout
Add the following classes from the ORG.VIDEOLAN.VLC package in the vlc-android:Aout.javaBitmapcache.javaEventmanager.javaLibvlc.javaLibvlcexception.javaTrackinfo.javaUtil.javaVlcapplication.javaWeakhandler.java3. Add the source code to the Libs under the armeabi-v7a (if the device is ARM6 or below, is the Armeabi) folder added under the Libs of Android projectURI = "RTSP://217.146.95.166:554/LIVE/CH6BQVGA.3
Common Security Service for HTTP (GSS)
496 pim-rp-disc is used for Protocol Independent multi-access propagation (PIM) Service assembly point discovery (RP-DISC)
500 isakmp Internet Security Association and Key Management Protocol (ISAKMP)
535 iiop Internet internal Object Request proxy protocol (IIOP)
538 gdomap GNUstep distributed object Er (GDOMAP)
546 dhcpv6-client Dynamic Host Configuration Protocol (DHCP) version 6 customer
547 dhcpv6-server Dynamic Host Configuration Protocol (DHCP
simple asymmetric file transfer (saft) protocol
488 gss-http common security service for HTTP (GSS)
496 pim-rp-disc is used for protocol independent multi-access propagation (PIM) service Assembly Point discovery (RP-DISC)
500 isakmp Internet Security Association and Key Management Protocol (ISAKMP)
535 iiop Internet internal object request proxy protocol (IIOP)
538 gdomap GNUstep distributed object er (GDOMAP)
546 dhcpv6-client Dynamic Host Configuration Protocol (DHCP) version 6 customer
547
because the directories for these header files are not added to the project in the following locations:
After compiling the 5 static libraries, and then compiling the MediaServer, you will find that there are many symbols that cannot be found when linking, because the 5 static libraries are not added to the project.
Also add the directories where the 5 static libraries are located to the VC + + Directory configuration item:
Last compile run, you can see the interface
Now that's done, start
2008.7.17
The program cannot connect to the server through cmnet on the mobile phone, but the mobile phone can connect to the server (such as HTTP and RealPlayer ). You can also connect to the Internet IP address of the server in the simulator. You have to study rtspclient and socket in the morning.
2008.7.18
Test with rsocket example. If the problem is the same, the connection cmnet prompts "conn. Failed-46". The permission is insufficient. Originally, the socket required the networkservices ca
for "Network News Transfer Protocol" (NNTP.
Port 135: port 135 is mainly used to use the Remote Procedure Call Protocol and provide the DCOM (Distributed Component Object Model) service.
Port 137: port 137 is mainly used for "NetBIOS Name Service" (NetBIOS Name Service ).
Port 139: port 139 is provided for "NetBIOS Session Service" and is mainly used to provide Windows file and printer sharing and Samba Service in Unix.
Port 143: port 143 is mainly used for "Internet Message Access Protocol" v2
ports are primarily used for Windows "Authentication Service" (authentication services).119 Ports: 119 ports are open for "Network news Transfer Protocol" (Web newsgroup Transfer Protocol, or NNTP).135 Ports: 135 ports are primarily used by RPC (remote Procedure call, Remoting) protocol and provide DCOM (distributed Component Object Model) services.137 Ports: 137 ports are primarily used for the NetBIOS name Service (NetBIOS naming services).139 Ports: 139 ports are provided for "NetBIOS Sessio
: port 443 is the Web browsing port. It is mainly used for HTTPS services and is another type of HTTP that provides encryption and transmission through secure ports.Port 554: port 554 is used by default for "Real Time Streaming Protocol" (RTSP ).
2. Dynamic port (from 1024 to 65535)
When you need to communicate with others, Windows will allocate a dynamic port on
name service" (NetBIOS Name Service ).
Port 139: port 139 is provided for "NetBIOS Session Service" and is mainly used to provide Windows file and printer sharing and SAMBA service in UNIX.
Port 143: port 143 is mainly used for "Internet Message Access Protocol" V2 (Internet Message Access Protocol (IMAP ).
Port 161: port 161 is used for "Simple Network Management Protocol" (SNMP ).
Port 443: Port 43 is the Web browsing port, which is mainly used for HTTPS services. It is another type o
of network services.113 Ports: 113 ports are primarily used for Windows "Authentication Service" (authentication services).119 Ports: 119 ports are open for "Network news Transfer Protocol" (Web newsgroup Transfer Protocol, or NNTP).135 Ports: 135 ports are primarily used by RPC (remote Procedure call, Remoting) protocol and provide DCOM (distributed Component Object Model) services.137 Ports: 137 ports are primarily used for the NetBIOS name Service (NetBIOS naming services).139 Ports: 139 por
) protocol is a connection-oriented transport protocol, the communication needs to establish a connection, transmission delay is large, TCP recognition and retransmission mechanism, flow control mechanism can ensure reliable data transmission, but the processing process is complex and inefficient, for audio and video streaming , frequent acknowledgement and retransmission cannot guarantee the real-time transmission of data, so it is relatively unsuitable for the transmission of video images.
Su
:0px "title=" clip_image004[6] "border=" 0 "alt=" clip_image004[6] "src=" http://s3.51cto.com/wyfs02/M00/85 /a3/wkiom1eqxxnyyeunaac3a9cg5nc683.jpg "" 535 "height=" 327 "/> Modify the database storage path and folder, the recommended disk partition drive letter and folder name can be consistent with the original database, reduce the recovery process of trouble, of course, the inconsistency is also possible. I changed it to the same path as the original server. Remember the database name here, mus
installation DNS steps:1. mount the CD and install the main program and camouflage package650) this.width=650, "width=" 554 "height=" "src=,"/e/u261/themes/default/images/spacer.gif, "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "alt=" Spacer.gif "/>2. Copy the Master profile and the zone profile and change the owner to named650) this.width=650; "Width="
supports specific network protocols.
Ii. Streaming Media ProtocolReal-Time Transport Protocol (PRT) is a network protocol used to process multimedia data streams over the Internet. It can be used in one-to-one (unicast, unicast) scenarios) or you can transmit streaming media data in real time in a one-to-multiple (Multi-play) network environment. RTP usually uses UDP for multimedia data transmission, but other protocols such as TCP or ATM can be used if needed. The entire RTP protocol consists
in previous images. A nal unit stream can contain one or more encoded video sequences.
RTP protocol:
Real-Time Transport Protocol (RTP) is a network protocol used to process multimedia data streams over the Internet) or you can transmit streaming media data in real time in a one-to-multiple (Multi-play) network environment. RTP usually uses UDP for multimedia data transmission, but other protocols such as TCP or ATM can be used if needed. The entire RTP protocol consists of two closely related
: Saved
:
PIX Version 6.3 (1)
Interface Ethernet0 Auto Set port 0 rate to Automatic
Interface Ethernet1 100full set port 1 speed to 100 gigabit full duplex
Interface Ethernet2 Auto Set port 2 rate to Automatic
Nameif ethernet0 outside SE curity0 set
Fixed port 0 called outside security level is 0
Nameif Ethernet1 inside Security100 set port 1 called inside security level is 100
Nameif Ethernet2 DMZ security50 set port 2 called DMZ security level 50
Enable password Dv0yxugpm3xt7xvs encrypted priv
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.