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>
jess
November 14, 2014, 7:59pm
2
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.
centos, red5, kaltura
jess
January 7, 2015, 11:57am
5
Hi, I read somewhere that we can use Red5, FMS as well?
jess
January 7, 2015, 3:51pm
7
Hello,
It was possible at some stage but not with the latest versions.
Thanks,
A_user
January 8, 2015, 9:23am
8
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.
A_user
January 21, 2015, 2:00pm
9
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.
jess
January 22, 2015, 2:24pm
10
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,
A_user
January 23, 2015, 8:23am
11
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:
I have Kaltura CE 10.0.0 installed on a Single machine.
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
I am able to do Camera Recording from KMC and also Streaming from FMLE is working.
But I am not able to see the Stream received from FMLE in KMC live entry preview screen.
jess
January 25, 2015, 8:46am
12
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:
# Installing Kaltura on a Single Server (RPM)
This guide describes RPM installation of an all-in-one Kaltura server and applies to all major RH based Linux distros including Fedora Core, RHEL, CentOS, etc.
([Note the supported distros and versions](http://kaltura.github.io/platform-install-packages/#supported-distros)).
[Kaltura Inc.](http://corp.kaltura.com) also provides commercial solutions and services including pro-active platform monitoring, applications, SLA, 24/7 support and professional services. If you're looking for a commercially supported video platform with integrations to commercial encoders, streaming servers, eCDN, DRM and more - Start a [Free Trial of the Kaltura.com Hosted Platform](http://corp.kaltura.com/free-trial) or learn more about [Kaltura' Commercial OnPrem Edition™](http://corp.kaltura.com/Deployment-Options/Kaltura-On-Prem-Edition). For existing RPM based users, Kaltura offers commercial upgrade options.
#### Table of Contents
[Prerequites](https://github.com/kaltura/platform-install-packages/blob/master/doc/pre-requisites.md)
[Non-SSL Step-by-step Installation](https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#non-ssl-step-by-step-installation)
[SSL Step-by-step Installation](https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#ssl-step-by-step-installation)
[Upgrade Kaltura](https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#upgrade-kaltura)
[Remove Kaltura](https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#remove-kaltura)
[Troubleshooting](https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#troubleshooting)
[Additional Information](https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#additional-information)
This file has been truncated. show original
Thanks,
atheryl
February 11, 2015, 9:10am
13
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 ?
jess
February 11, 2015, 9:25pm
14
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.
atheryl
February 12, 2015, 1:37am
15
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.