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:
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
ENC2 Pro Video encoder hardware encoder
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:
1. 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.
2. 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
1.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)
1)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.
2)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.
3)Select Options 1-System, 2-click Reboot, Hardware video encoder from the main menu to complete the setup (restart only takes 10S).
4)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.
5)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.
6)8-Save settings,Status bar show Saved! Your application is ready to use.
7)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 the Source 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.
9 – click on the left column submenu LIVE APPLICATIONS-sports–Incoming Streams.
10 – you will find the hardware video encoder LIVE streaming push is successful.
12-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)
Configure the liveapplication in XML
This section shows you how to configurethe live application by editing the Application.xml configurationfile in a text editor.If you configured the live applicationin Wowza Streaming Engine Manager, skip this section.
1.Navigate to [install-dir]/conf/live and open Application.xml in a text editor.
2.In the <Streams> container element, make sure the property is live. The XML looks like this:
3.Set the <HTTPStreamers> 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 <RTP> 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 publish.password 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 sourcestream to Wowza Streaming Engine
In your encoder, enter the followingapplication connection settings, and then click Publish or Start:
Server URL – rtmp://[wowza-ip-address]/live
Stream Name – myStream
User – publisherName
password – [password]
Note: See thedocumentation for your source encoder for help configuring it.
To verify that the stream is published,click Incoming Streams for the live applicationin Wowza Streaming Engine Manager, and then click the stream name.Uptime,network throughput, and other information about the published stream appear onthe page.
In Wowza Streaming Engine Manager,click Test Players in the upper-right corner of the live applicationpage.
Each tab in the Test Players windoweither hosts a test player that can play the live stream,or providesinstructions for playing the live stream.The test playersare preconfigured tostream the default live stream myStream.
For example,to test playback of thedefault stream myStreamoverAdobe HDS, make sure the encoder is sending a stream to the live applicationin 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 thetest players online on our Wowza Test Players webpage,or by using the example players that install with Wowza Streaming Engineat [install-dir]/examples/.For more information, see any of these articles:
Video encoder and media server settings tip
If you have any questions, please feel free to contact us by [email protected] or whatsapp+8613602491788
Next chapter: Connect a Stream File (from video encoder hardware ENC2 Pro) or we can call it Wowza pulls a live stream to publish from video encoder