cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
751
Views
0
Helpful
0
Replies

CMS stream to YouTube does not work directly or through WOWZA

alexniko
Level 1
Level 1

I have a problem to setup streaming from conference. What is done:

 

Cms cluster

Cms01 172.17.16.204

Cms02 172.17.16.206

Cms03 172.17.16.206

 

Cms streamer

Cmsstr - 172.17.16.223

 

Cms cluster licences

Feature: callbridge status: Activated expiry: 2120-Feb-10 (36367 days remain)

Feature: turn status: Activated expiry: 2120-Feb-10 (36367 days remain)

Feature: webbridge status: Activated expiry: 2120-Feb-10 (36367 days remain)

Feature: recording status: Activated expiry: 2120-Feb-10 (36367 days remain)

Feature: personal status: Activated expiry: 2120-Feb-10 (36367 days remain)

Feature: shared status: Activated expiry: 2120-Feb-10 (36367 days remain)

 

First I setup CMS 2.9.2 as streamer

cmsstr> streamer

Enabled                 : true

Interface whitelist     : a:8445

Key file                : cmsstr.key

Certificate file        : cmsstr.cer

CA Bundle file          : chain-n.cer

Trust bundle            : cms123n.cer

 

Add streamer to CMS cluster

<streamers total="1">

    <streamer id="594c821f-a0e1-4c3f-b26a-7fd1907c6605">

        <url>https://172.17.16.223:8445</url >

    </streamer>

</streamers>

 

Create callProfile

<callProfile id="291b770c-9ed6-4ba7-8ba6-dbc4bae3955f">

    <recordingMode>manual</recordingMode>

    <streamingMode>automatic</streamingMode>

</callProfile>

 

Create CallLegProfile

 

<callLegProfile id="8ce8e5ab-0cf1-40c3-b25b-5baf8a1be4ba">

    <defaultLayout>telepresence</defaultLayout>

    <presentationContributionAllowed>true</presentationContributionAllowed>

    <presentationViewingAllowed>true</presentationViewingAllowed>

    <muteSelfAllowed>true</muteSelfAllowed>

    <videoMuteSelfAllowed>true</videoMuteSelfAllowed>

    <changeLayoutAllowed>true</changeLayoutAllowed>

    <streamingControlAllowed>true</streamingControlAllowed>

</callLegProfile>

 

Create DTMF profile

 

<dtmfProfile id="9e5c4b8e-1102-4518-b3b7-2924fc01a5e3">

    <muteSelfAudio></muteSelfAudio>

    <unmuteSelfAudio></unmuteSelfAudio>

    <toggleMuteSelfAudio></toggleMuteSelfAudio>

    <lockCall></lockCall>

    <unlockCall></unlockCall>

    <muteAllExceptSelfAudio></muteAllExceptSelfAudio>

    <unmuteAllExceptSelfAudio></unmuteAllExceptSelfAudio>

    <endCall></endCall>

    <nextLayout></nextLayout>

    <previousLayout></previousLayout>

    <startRecording>**7</startRecording>

    <stopRecording>**8</stopRecording>

    <startStreaming>**5</startStreaming>

    <stopStreaming>**6</stopStreaming>

    <allowAllMuteSelf></allowAllMuteSelf>

    <cancelAllowAllMuteSelf></cancelAllowAllMuteSelf>

    <allowAllPresentationContribution></allowAllPresentationContribution>

    <cancelAllowAllPresentationContribution></cancelAllowAllPresentationContribution>

    <muteAllNewAudio></muteAllNewAudio>

    <unmuteAllNewAudio></unmuteAllNewAudio>

    <defaultMuteAllNewAudio></defaultMuteAllNewAudio>

    <muteAllNewAndAllExceptSelfAudio></muteAllNewAndAllExceptSelfAudio>

    <unmuteAllNewAndAllExceptSelfAudio></unmuteAllNewAndAllExceptSelfAudio>

    <getTotalParticipantCount></getTotalParticipantCount>

</dtmfProfile>

 

Instal Wowza server on Linux (172.17.16.230) . Add Source Authentication username - cms, password cms.

  1. Add stream target YOUTUBE

Source Stream Name - CMSSTREAM

Destination Application Name - live2

Destination Application Instance - CMSSTREAM

Destination Host - a.rtmp.youtube.com

Destination Port  - 1935

Destination Stream Name  - YouTube translation key

User Name - fcbrn.ru@gmail.com

Password - password of Google account

 

  1. Add streamURL in coSpace that need to be streamed

   <coSpace id="bbcb4043-6f10-4d3c-8358-aca0e94ea534">

       <name>Conf10-stream</name>

      <autoGenerated>false</autoGenerated>

      <uri>meeting10s</uri>

      <callId>77750</callId>

      <streamUrl>rtmp://cms:cms@172.17.16.230/live/CMSSTREAM</streamUrl>

      <secret>qzihD0_VhBcC9TDB8lU0xQ</secret>

</coSpace>

 

There is no broadcast on YouTube. Testing on a local network using VLC at https: // cms: cms@172.17.16.230: 1935 / live / CMSSTREAM the connection is established no more than 10-15 seconds after which it is interrupted, the connection with the broadcast is very slow, sometimes it shows only a gray or black screen and sound with a delay of more than 30 seconds.

If a link to YouTube in coSpaces is a  direct link in the format rtmp: //a.rtmp.youtube.com/live2/ the broadcast key, the transmission is regularly interrupted, very long delays or immediately interrupted with an error

 

In the logs of the CMS on which the conference is hosted, there are a large number of warnings:

streaming 492: streaming poll failed, 2-3 times per minute.

 

The following entries in the event log

 

call 204: configured - API call leg 73927a07-db2c-4efe-85a9-c39355990659

participant "guest2554166268@fccps.local" joined space bbcb4043-6f10-4d3c-8358-aca0e94ea534 (Conference # 10 (stream))

participant "guest2554166268@fccps.local" (73927a07-db2c-4efe-85a9-c39355990659) joined conference 23eff47b-b9f3-4511-ac4b-374e16cc9fca via XMPP

streaming device 2: available (1 streamings)

 

Conferences, calls from devices, jabber, webRTC, recording and everything else works fine.

Can you help me out

 
0 Replies 0