Live Streams @PRIMARY_MEDIA_SERVER_HOST@

I’m attempting to do a simple test stream from my desktop webcam using Adobe Flash Media Live Encoder to Kaltura. Everytime I attempt to connect to the FMS URL I get a failure to connect notification. Below is the XML that was exported that I opened in AFMLE. I’m guessing that the @PRIMARY_MEDIA_SERVER_HOST@ is the culprit, is there a way to change this? I followed the Red5 configs outlined in the installation for the oflaDemo.

<?xml version="1.0"?>

-<flashmedialiveencoder_profile>


-<preset>

<name>Custom</name>

<description/>

</preset>


-<capture>


-<video>

<device/>

<crossbar_input>0</crossbar_input>

<frame_rate>15</frame_rate>


-<size>

<width>160</width>

<height>120</height>

</size>

</video>


-<audio>

<device/>

<crossbar_input>0</crossbar_input>

<sample_rate>44100</sample_rate>

<channels>2</channels>

<input_volume>75</input_volume>

</audio>

</capture>


-<encode>


-<video>

<format>H.264</format>

<datarate>900;400;600;</datarate>

<outputsize>640x480;480x360;640x480;</outputsize>


-<advanced>

<profile>Baseline</profile>

<level>3.1</level>

<keyframe_frequency>5 seconds</keyframe_frequency>

</advanced>


-<autoadjust>

<enable/>

<maxbuffersize/>


-<dropframes>

<enable/>

</dropframes>


-<degradequality>

<enable/>

<minvideobitrate/>

<preservepfq/>

</degradequality>

</autoadjust>

</video>


-<audio>

<format>MP3</format>

<datarate>128</datarate>

</audio>

</encode>


-<restartinterval>

<days/>

<hours/>

<minutes/>

</restartinterval>


-<reconnectinterval>

<attempts/>

<interval/>

</reconnectinterval>


-<output>


-<rtmp>

<url>rtmp://@PRIMARY_MEDIA_SERVER_HOST@:1935/kLive/?p=101&e=0_pyu8iuzs&i=0&t=eab2acd4</url>

<backup_url/>

<stream>0_pyu8iuzs_%i</stream>

</rtmp>

</output>

<metadata/>


-<preview>


-<video>


-<input>

<zoom>100%</zoom>

</input>


-<output>

<zoom>100%</zoom>

</output>

</video>

<audio/>

</preview>


-<log>

<level>100</level>

<directory/>

</log>

</flashmedialiveencoder_profile>

Hello,

Are you able to use KMC’s KCW to record from your webcam? use the ‘Upload’ menu and select ''Record from webcam".

I’m also having similar issues. And yes, I was able to record videos from webcam. Someone has reported a similar issue in stackoverflow.

Hi,

At present time, live streaming capabilities are only available with Wowza.

For more info, see here:
https://github.com/kaltura/platform-install-packages/blob/Jupiter-10.2.0/doc/install-kaltura-redhat-based.md#note-about-using-wowza-as-media-server

Thanks,

Hi, I read somewhere that we can use Red5, FMS as well?

Hello,

It was possible at some stage but not with the latest versions.

Thanks,

Is the capability of FMS+RED5 live camera streaming is completely removed or it is broken in the latest release of kaltura?

I want to stream live camera feed using FMS+Red5 and kaltura, I have Cam recording working in my single server setup.

I did some progress on this.

I did modification in the file:
/opt/kaltura/app/configurations/broadcast.ini

And updated following values:

domain = myKaltura.com
application.default = live
application.LIVE_STREAM_ONTEXTDATA_CAPTIONS=kLiveOTD

No I see the host name instead of @PRIMARY_MEDIA_SERVER_HOST@ in the KMC.

Also when I export export.xml file from KMC and open it in the FMLE then my FMLE application successful connect with the RTMP 1935 port and start the streaming.

But somehow I am not able to see the Preview of live stream under KMC when I open live entry.

Something is Still missing.

Hi,

Lets start with:
mysql> select * from delivery_profile\G
Past here and remember to mask sensitive info.

Also, when you hit play, run an HTTP sniffer and paste the calls you see.

Thanks,

mysql> select * from delivery_profile;
±----±-----------±--------------------±--------------------±-----------------------------------------±-----±-----------------------------------------±-----------------------------------------±---------------------------------------±-----------------------------±-----------±----------±-------±----------------±------------------±-----------±----------±-----------------------------------+
| id  | partner_id | created_at          | updated_at          | name                                     | type | system_name                              | description                              | url                                    | host_name                    | recognizer | tokenizer | status | media_protocols | streamer_type     | is_default | parent_id | custom_data                        |
±----±-----------±--------------------±--------------------±-----------------------------------------±-----±-----------------------------------------±-----------------------------------------±---------------------------------------±-----------------------------±-----------±----------±-------±----------------±------------------±-----------±----------±-----------------------------------+
| 501 |          0 | xxxx-xx-xx xx:xx:xx | xxxx-xx-xx xx:xx:xx | Default HTTP Delivery Profile            |   10 | Default Akamai HLS direct                | Default Akamai HLS direct                | http://mykaltura.com:80                | mykaltura.com                | NULL       | NULL      |      0 | NULL            | applehttp         |          1 |         0 | NULL                               |
| 500 |          0 | xxxx-xx-xx xx:xx:xx | xxxx-xx-xx xx:xx:xx | Default HTTP Delivery Profile            |   14 | Default HTTP Delivery Profile            | Default HTTP Delivery Profile            | http://mykaltura.com:80                | mykaltura.com                | NULL       | NULL      |      0 | NULL            | http              |          1 |         0 | NULL                               |
| 101 |          0 | xxxx-xx-xx xx:xx:xx | xxxx-xx-xx xx:xx:xx | Default HLS Live Delivery Profile        | 1001 | Default HLS Live Delivery Profile        | Default HLS Live Delivery Profile        | NULL                                   | NULL                         | NULL       | NULL      |      0 | NULL            | applehttp         |          1 |         0 | NULL                               |
|   1 |          0 | xxxx-xx-xx xx:xx:xx | xxxx-xx-xx xx:xx:xx | Default HD Network Live Delivery Profile | 1002 | Default HD Network Live Delivery Profile | Default HD Network Live Delivery Profile | NULL                                   | NULL                         | NULL       | NULL      |      0 | NULL            | hdnetworkmanifest |          1 |         0 | NULL                               |
|   2 |          0 | xxxx-xx-xx xx:xx:xx | xxxx-xx-xx xx:xx:xx | Default HDS Live Delivery Profile        | 1002 | Default HDS Live Delivery Profile        | Default HDS Live Delivery Profile        | NULL                                   | NULL                         | NULL       | NULL      |      0 | NULL            | hds               |          1 |         0 | NULL                               |
| 201 |          0 | xxxx-xx-xx xx:xx:xx | xxxx-xx-xx xx:xx:xx | Default RTMP Live Delivery Profile       | 1005 | Default RTMP Live Delivery Profile       | Default RTMP Live Delivery Profile       | NULL                                   | NULL                         | NULL       | NULL      |      0 | NULL            | rtmp              |          1 |         0 | a:1:{s:12:“enforceRtmpe”;s:1:“0”;} |
±----±-----------±--------------------±--------------------±-----------------------------------------±-----±-----------------------------------------±-----------------------------------------±---------------------------------------±-----------------------------±-----------±----------±-------±----------------±------------------±-----------±----------±-----------------------------------+

For HTTP Sniffer what exactly I should provide, is it the inbound http requests, when I open live entry from KMC and when KMC try to loading the Live stream?

Just to clarify I am trying to do following:

  1. I have Kaltura CE 10.0.0 installed on a Single machine.
  2. I am trying to do a Live Camera Broadcast as mentioned in the link using FMLE+RED5.
    http://knowledge.kaltura.com/live-streaming-using-kaltura-live-streaming-hds-hls-dash
  3. I am able to do Camera Recording from KMC and also Streaming from FMLE is working.
  4. But I am not able to see the Stream received from FMLE in KMC live entry preview screen.

Hello,

For Live streaming, please use Wowza instead. We do not currently support Red5 for it.
Cam recording however CAN still be done using Red5.

See here:


Thanks,

Tried yesterday, both red5 or wowza nothing work.

By the way if I use this demo http://kaltura.github.io/EmbedCodeGenerator/demo/ to try, I even don’t know where to get the informations to fill the generate form.

Any hint ?

I am not sure how you are using Kaltura… is this a SaaS account or a CE install?
Regardless, for generating embed code, you can use the KMC.

Dear Jess,

Actually I did used the CE recently but I found the same issue on a On-Prem.

I did use the demo to be able to control the arguments sent to the player. Actually I can read the stream from any player from wowza and red5 (It’s somehow the same) but I never managed to have a live streaming running on kaltura (Demo player or directly in the KMC, I just wonder if the player is able to and how he get the correct arguments)

Best regards,

Sto anche avendo problemi simili. E sì, sono stato in grado di registrare video da webcam. Qualcuno ha segnalato un problema simile in StackOverflow.

thanks its good in works