cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
402
Views
1
Helpful
0
Comments
Meddane
VIP
VIP

 

Meddane_0-1659908917387.png

The new streamer component requires to listen to SIP connections, the streamer server must have a valid certificate for TLS connection.

Configure the listening interface of the streamer and the SIP TCP and TLS ports to listen on using the following command.

hq-cms> streamer sip listen a 6000 6001

Configure the certificates to be used for the SIP streamer. Specify the key file, certificate, and CA trust bundle.

hq-cms> streamer sip certs cmscert.key cmscert.cer Chain-CA.cer

Optionally select the quality for streaming

hq-cms> streamer sip resolution 720p

Meddane_1-1659908917388.png

Enable the streamer. All message must show "SUCCESS" as below displayed below.

hq-cms> streamer enable

Meddane_2-1659908917388.png

Verify the streamer status.

Meddane_3-1659908917389.png

Configuring the Stream URI via the API.

Once the new SIP streamer is enabled, it can be configured and used in the Call Bridge using the sipStreamerUri API parameter specified in the API call profile object.

On the web GUI of the CMS navigate to Configuration > API.

In the Filter section, type “callprofile

Click the Create new button to create a new CallProfile or edit the existing profile and populate the following information.

Meddane_4-1659908917391.png

Meddane_5-1659908917395.png

Add the created callProfile above to the /system/profiles. This is a global configuration and the configured "sipStreamerUri" will be used for streamer operation.

Click return to object field.

In the Filter section, type “system”.

Click the View or edit button for system profiles.

Then select Choose Next to the field for callProfile, and then Select the callProfile previously created

Click Modify.

Meddane_6-1659908917398.png

Meddane_7-1659908917401.png

Meddane_8-1659908917402.png

Meddane_9-1659908917405.png

Meddane_10-1659908917408.png

Meddane_11-1659908917413.png

By default, Wowza Streaming Engine requires that RTMP-based encoders such Cisco Meeting Server provide a source username and password before they can connect to a live application and publish a live stream. Complete the following steps to create a source account and manage source authentication.

First to connect to Wowza Streaming Engine Manager, from the Admin-PC, open a web browser and type the url http://10.1.5.128:8088.

Meddane_0-1659909123260.png

Meddane_1-1659909123269.png

In Wowza Streaming Engine Manager, click Server and then click Source Authentication.

Click Add Source.

Add Source UserName : cmsuser and Password : cisco. Click Add. This account will be used later on the cospaces of Cisco Meeting Server. This source account is used to authenticate connections from Cisco Meeting Server to live applications in Wowza Streaming Engine.

Meddane_2-1659909123280.png

Meddane_3-1659909123288.png

Meddane_4-1659909123297.png

In the section Application , click Source Security, and then click Edit.

Under the source type RTMP, select Require password authentication.

Under Client Restrictions, You can control which IP addresses encoders can connect from. Click Save.

Meddane_5-1659909123314.png

Meddane_6-1659909123331.png

To connect the Cisco Meeting Server to Wowza Streaming Engine and publish a live stream, we need a stream URL.

To retrieve this URL, we need the following application connection settings:

  •     Server URL : rtmp://10.1.5.128:1935/live
  • Stream Name : a unique name to identify the stream for example clcnf.
  • Username : cmsuser
  • password : cisco

On the Cisco Meeting Server we need to configure the stream URL in the following format instead:

rtmp://[source-user-name]:[source-password]@[wowza-ip-address]:[port]/[application-name]/stream-name

In this scenario, it should be : rtmp://cmsuser:cisco@10.1.5.128:1935/live/clcnf

To retrive the stream URL’s informations, see in the Application Connection Settings information in the right of the web page and use this information in the CMS streamer 's configuration to connect it to Wowza Streaming Engine.

Meddane_7-1659909123347.png

In the Filter section, type “cospace”.

Click the object ID for jdoe Meeting Space.

Modify the space to add “StreamURL”. The 'streamURL' in the following format: rtmp://cmsuser:cisco@10.1.5.128:1935/live/clcnf

Click Modify.

Meddane_8-1659909182055.png

Meddane_9-1659909182061.png

Meddane_10-1659909182066.png

From the jdoe-pc, access the jdoe space and click the Join button.

Meddane_11-1659909182070.png

Meddane_12-1659909182078.png

From the jsmith-pc, access the jsmith space, and click the Join a meeting button.

Enter the Meeting ID of the jdoe space 51001. Click the Join meeting button.

Meddane_13-1659909182083.png

Meddane_14-1659909182088.png

Meddane_15-1659909182154.png

Meddane_16-1659909182162.png

From the jdoe-pc, Click the Meeting Control Icon on the right-hand side of the video screen.

This will expand to show the Recording and Streaming Control. Click the Streaming button.

Meddane_17-1659909276624.png

After a couple of seconds, notice the Streaming button will go to a solid blue dot to indicate the streaming has started.

Meddane_18-1659909276634.png

To verify that Wowza Streaming Engine is receiving the published stream, complete the following steps in Wowza Streaming Engine Manager.

Click Incoming Streams in the the live application.

You should see the stream clcnf listed with a status of Active.

Meddane_19-1659909276647.png

Meddane_20-1659909276661.png

On the cmayer-pc, open the CMS Live Stream using VLC, enter the stream URL rtmp://cmsuser:cisco@10.1.5.128:1935/live/clcnf.

Meddane_21-1659909276663.png

Meeting content is being streamed to cmayer-pc.

Meddane_22-1659909276760.png

From the HQ-CMS, navigate to Logs > Event Logs. Verify that an outgoing SIP call is sent to CMS Streamer. The stream URL is sent via SIP header in the contact field.

Meddane_23-1659909276769.png

Navigate to Status > Calls, verify that in addition to jdoe and jsmith calls, the sip streaming call is also connected.

Meddane_24-1659909276773.png

Send the stream to YouTube from Wowza Streaming Engine

After creating a Live application in Wowza Streaming Engine, we can send the stream to YouTube.

Under the Application section, navigate to the application live. Click Stream Targets, and then click Add Stream Target.

Meddane_25-1659909388856.png

Under Third-Party Target Destinations, click YouTube Live. YouTube receives the stream over RTMP.

Meddane_26-1659909388872.png

On the YouTube Live Configuration page, configure the following informations:

Meddane_27-1659909388880.png

Stream Target Name : A descriptive name for this target setup in Wowza Streaming Engine.

Source Stream Name : The name of the incoming source stream, specified when you connected the source stream such as Cisco Meeting Server Streamer to Wowza Streaming Engine, that will be sent to YouTube. The source stream name in this scenario is clcnf. (rtmp://cmsuser:cisco@10.1.5.128:1935/live/clcnf)

Destination Application Name : The name of the YouTube application in the Stream URL. YouTube uses the application name live2. (located in the URL stream rtmp://a.rtmp.youtube.com/live2), you can retrieve the application name in the YouTube Live Control page under the Stream Settings.

Destination Port : The port number for the stream connection. The default RTMP connection is 1935.

Destination Stream Name : The name of the stream in the Stream key field located on the YouTube Live Control page under the Stream Settings.

Destination Application Instance : Not Required

Destination Host : The address of the YouTube server in the Stream URL field rtmp://a.rtmp.youtube.com/live2, In this scenario the destination host is a.rtmp.youtube.com.

Meddane_28-1659909388888.png

 

Meddane_29-1659909388897.png

Meddane_30-1659909388905.png

  Username and Password : The YouTube username and password for authentication.

Click the Add this target button.

Meddane_43-1659910510742.png

Finally we must enable the Stream Targets feature for the Wowza Streaming application.

In the section of the application name live, click Stream Targets, and then click Enable Stream Targets. Click OK to confirm.

Meddane_32-1659909388930.png

Meddane_33-1659909388944.png

When the Stream Targets feature is enabled, the target status on the Stream Targets page displays the status of Waiting which means that the target is enabled but isn't yet pushing the stream to the YouTube.

Meddane_34-1659909347237.png

From the jdoe-pc, access the jdoe space and click the Join button.

Meddane_35-1659909347242.png

Meddane_36-1659909347250.png

Click the Meeting Control Icon on the right-hand side of the video screen.

This will expand to show the Recording and Streaming Control. Click the Streaming button.

Meddane_37-1659909347259.png

After a couple of seconds, the streaming starts successfully as shown by the blue color of the Streaming button.

Meddane_38-1659909347268.png

Access the Wowza Streaming Engine Manager. The target status on the Stream Targets page displays the status of Active. Wowza Streaming Engine successfully connected to the YouTube target and is actively pushing the stream.

Meddane_39-1659909347283.png

To verify that YouTube is receiving the stream, go to the YouTube Live Control page and the YouTube channel. The stream is received successfully.

Meddane_40-1659909347299.png

Meddane_41-1659909347374.png

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: