Video encoder hardware ENC2 Pro live streaming Connect to Wowza Streaming Engine live Application of tutorial
Today we’re going to talk about video encoder hardware connect to Wowza streaming Engine trial methods.
First, I’d like to briefly introduce the two main characters:
1. Wowza Streaming Engine Wowza Streaming Engine is a professional Streaming media platform software developed by an American company. Its core function is to realize live streaming aswell as video-on-demand, widely used in all walks of life. It features support for different coding standards and operating system platforms, and provides an open SDK development kit. Detailed installation tutorial here is not introduced, you can click on the official wowza website 2.ENC2 Pro Video encoder hardware ENC2 Pro Video encoder hardware developed and produced independently by JLONvision is a 2 channel of 4K 60fps embedded video and audio hardware encoder,It is also a 1 channel decoder and can be converted into a 4 channel IP transcoder. It applies H 265 and H.264 encoding standard. Video encoder hardware connect to Wowza streaming Engine  have two ways:
A.Connect a live source(from video encoder hardware ENC2 Pro) to Wowza Streaming Engine or we can call it video encoder live stream is pushed to wowza.
B.Connect a Stream File (from video encoder hardware ENC2 Pro) or we can call it Wowza pulls a live stream to publish from hardware video encoder.
3.Connect a live source(from video encoder hardware ENC2 Pro) to Wowza Streaming Engine
First we suppose the address of the republish that we need to push live streams from video encoder hardware ENC2 Pro to Wowza server is: RTMP: / / wong:123456 @192.168.0.241:1935 / sports/live. If the live video streaming go without Wowza user name and password authentication address is RTMP: / / 192.168.0.241:1935 / sport/live.(Note:the IP address of hardware video encoder is 192.168.0.216,Wowza server IP address is 192.168.0.241, port is 1935,Wowza live broadcast source authorized user name :wong, password: 123456)
A.We need to log into the hardware video encoder ENC2 Pro setup page, open a browser to http://192.168.0.216 (User name: admin Default password: admin). Then select Encode page from the main menu to set encoding parameters, as shown in the following figure, according to 1-encoder,2-video size 4K(ENC2 Pro support 4K 60fps),3-encoding format,4-settings rate control-avbr,CBR,VBR,bitrate-6000KB/s, enable-on,5-save settings.
B.Switch the main menu to Stream page to set the hardware video encoder pull live video streaming,ENC2 Pro default setting turns on all live streaming protocols, according to 1-stream, 2-check whether RTMP protocol is on, 3-open push Stream key,4-fill in address:rtmp://wong:[email protected]:1935/sports/live,5-save settings,6-click Play URL,7-Check it if the save working.
C.Select Options:1-System, 2-click Reboot, Hardware video encoder from the main menu to complete the setup (restart only takes 10S).
D.We switch to Wowza streaming Engine platform setting hardware video encoder live streaming user authorization.Type http://192.168.0.241:8088 in the browser login and select 1 – Server, 2 – Click the Source Authentication, 3 – Click the Add Source, 4 – the fill in the user name: wong, 5 – Settings password: 123456, 6 – Choose the + Add button, 7 – the Status bar green background represents success, 8 – the user is ‘OK’.
E.The main menu selects Applications to create the live video streaming publishing point,Corresponding to the planned path RTMP: / / wong: 123456 @192.168.0.241:1935 / sports/live, 4 – the fill in publication point name: sports, 7 – Select the client supported operating system, such as Apple mobile choose Apple HLS, other generally choose the default.
F.8-Save settings,Status bar show “Saved! Your application is ready to use”.
G.In the live application contents panel, click Source Security, and then click Edit.
In the Source Security page, under RTMP Sources, configure security options to manage source connections from RTMP-based sources, and then click “Save”.
-The Require password authentication option is selected by default for each source type. To use this option, you must create a source account on theSource Authentication page in Wowza Streaming Engine Manager to require that sources supply a matching source user name and password for the source account to connect to the live application.
-The Open option enables sources to connect to the live application without providing a source user name and password.
-The Publishing not allowed option blocks all connection attempts from sources to the live application.
H.click on the left column submenu LIVE APPLICATIONS sports Incoming Streams.
I. you will find the hardware video encoder LIVE streaming push is successful.
J.Testing live streaming,13-Select Adobe RTMP Click Start by default to test whether the client can receive live programs.
Connect a live source(from video encoder hardware ENC2 Pro) to Wowza Streaming Engine or we can call it video encoder live stream is pushed to wowza. (This concludes the tutorial) (the live streaming push method of RTSP or RTP protocol is the same, you only need to change the push live streaming protocol to RTSP or RTP in the video encoder hardware ENC2 Pro).
Options
Configure the live application in XML
This section shows you how to configure the live application by editing the Application.xml configuration file in a text editor. If you configured the live application in Wowza Streaming Engine Manager, skip this section.
1.Navigate to [install-dir]/conf/live and openApplication.xmlin a text editor.
2.In the container element, make sure the property is live. The XML looks like this:
3.Set the property for all supported HTTP streaming protocols. The XML looks like this:
4.Set the property for HDS, HLS, Microsoft Smooth Streaming, and MPEG-DASH streaming. The XML looks like this:
5.In the container element, make sure playback authentication is disabled by setting the property to none. The XML looks like this:
6.Save your changes and close Application.xml.
7.Navigate to [install-dir]/conf/ and open publish.password in a text editor.
8.Add a source user name and password to control RTMP source access. Following is an example of the file with the source name publisherName and a password:
9.Save your changes and close publish.password.
10.Restart Wowza Streaming Engine or Wowza Media Server.
Publish the source stream to Wowza Streaming Engine
In your encoder, enter the following application connection settings, and then click Publish or Start:
a.Server URL-rtmp://[wowza-ip-address]/live
b.Stream Name-myStream
c.User-publisherName
d.password-[password]
Note:See the documentation for your source encoder for help configuring it.
To verify that the stream is published, click Incoming Streams for the live application in Wowza Streaming Engine Manager, and then click the stream name. Uptime, network throughput, and other information about the published stream appear on the page.
Test playback
In Wowza Streaming Engine Manager, click Test Players in the upper-right corner of the live application page.
Each tab in the Test Players window either hosts a test player that can play the live stream, or provides instructions for playing the live stream. The test players are preconfigured to stream the default live stream myStream.
For example, to test playback of the default stream myStream over Adobe HDS, make sure the encoder is sending a stream to the live application in Wowza Streaming Engine and that Adobe Flash is enabled in the browser you’re using. Then, click the Adobe HDS tab and click Start.
You can also test your live stream by using the test players online on ourWowza Test Players webpage, or by using the example players that install with Wowza Streaming Engine at [install-dir]/examples/. For more information, see any of these articles:
Video encoder and media server settings tips
If you have any questions, please to contact us by [email protected] or whatsapp:008613602491788
Next chapter: Wowza Streaming Engine pull RTSP live streaming from Video Encoder Hardware ENC2 Pro Application of tutorial