EndPointCorp / end-point-blog

End Point Dev blog
https://www.endpointdev.com/blog/
17 stars 65 forks source link

Comments for Streaming Live with Red5 Media Server #603

Open phinjensen opened 6 years ago

phinjensen commented 6 years ago

Comments for https://www.endpointdev.com/blog/2012/04/streaming-live-with-red5-media-server/ By Marina Lohova

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
phinjensen commented 6 years ago
original author: max.lapshin
date: 2012-04-28T02:47:49-04:00

Hey, come on. Red5 haven't developed for years =)

phinjensen commented 6 years ago
original author: Jon Jensen
date: 2012-04-28T13:21:49-04:00

Red5 looks pretty interesting. Thanks for writing about it, Marina. In your later posts do you plan to show how to run it on Linux in a server environment?

The Apache OpenMeetings projects uses Red5 and looks like it could be really useful: http://incubator.apache.org/openmeetings/

phinjensen commented 6 years ago
original author: Marina Lohova
date: 2012-04-30T11:41:28-04:00

Max, their website has last updated in January, 2012, and their code base is working. I'm not saying that we would use Red5 for production, but it will definitely work for a proof of concept startup.

phinjensen commented 6 years ago
original author: Anonymous
date: 2012-05-12T09:55:49-04:00

Please note - second command that makes simpleSubscriber.swf need to update. It is calling broadcaster's mail.as file , it should all Subscriber's.

command

mtasc -cp "." -swf simpleSubscriber.swf -mx org/red5/samples/livestream/broadcaster/Main.as -v

should be -

mtasc -cp "." -swf simpleSubscriber.swf -mx org/red5/samples/livestream/subscriber/Main.as -v

Thanks Admin - HostRightNow.com

phinjensen commented 6 years ago
original author: MJ
date: 2012-07-06T03:47:05-04:00

Actually, Red5 is currently the production server of choice for large corporations and hosting companies and private coding for HLS has already been done and is in use as we speak. The opens source version of HLS will hopefully arrive, though it's also been implemented and is working, though only through hands on configuration using ffmpeg and segmenter tools. It's such a viable choice for production, that Adobe has been forced to lower their price and broaden their licensing schemes and also post in their faqs why they believe their streaming server is better than opens source "clones" - that is to say Red5. Max, your problem is that you represent a competitor whose own website doesn't even have the demo working correctly and you blatantly violate the GNU license by stating that your "open source", cough, cough, cannot be used for commercial purposes. An overpriced license must be gotten from you. Sad, really. Very, ver sad.

phinjensen commented 6 years ago
original author: Anonymous
date: 2012-07-24T04:07:53-04:00

Hi Marina,

thank you for your post. I have the RED5 server installed on Linux and working. For example oflaDemo works for me. But what I try to achieve is to have MP4 files in a separate directory and playable from FlowPlayer on a web client.

So, my only question is: how can I add a web application (similar to oflaDemo over RTMP) with my MP4 files inside WITHOUT installing the RED5 on my Windows and WITHOUT using Eclipse? Is it possible to create such web application directly on a Linux server intended for playing MP4 videos from outside?

cheers, Vlado

phinjensen commented 6 years ago
original author: Marina Lohova
date: 2012-07-25T10:50:52-04:00

Hello, Vlado,

as far as I understand, you would like to send your local MP4 files from Windows machine to RED5 installed on your Linux server, correct?

Perhaps, you can use Xuggler's ffmpeg version to do that. Here is a little tutorial on that: http://wiki.xuggle.com/Live_Encoding_Tutorial#Publish_a_H264_MP4_file_as_a_live_stream_to_a_RTMP_server

Let me know if I understood your question correctly. Thanks!

phinjensen commented 6 years ago
original author: Anonymous
date: 2012-08-08T00:40:39-04:00

how do you link all needed classes and actionscript files for this application to work on a windows os? I downloaded the .fla demos and don't see how to edit what I need and then compile to shockwave. Please respond with contact info for further questions regarding this. Thanks!

phinjensen commented 6 years ago
original author: Daniel Flores
date: 2012-08-12T21:24:52-04:00

Thank you Marina !, it works fine with some hacks in Windows 7 x64.

last @Anonymous you need to download the source from the svn repository and edit the files in the folder on classes\org\red5\samples\livestream\broadcaster, you can use a notepad. As well put the directory "mx" located on "mx2004/First Run/classes/" from the red5kit into the
"classes" directory of the downloaded sources, for compile fine with mtasc.

phinjensen commented 6 years ago
original author: Romain
date: 2012-08-19T09:20:21-04:00

Hi Marina,

Thanks for your tutorial, that's very helpful.

Though I get this error when launching mtasc from the Terminal :

Red5Kit/bin/mtasc: Bad CPU type in executable

I use a MacBook Pro last gen, I believe that mtasc is not supported by recent CPUs ? Or is it a configuration problem ? Did you work on a PowerPC or an Intel ?

Thanks for your help

phinjensen commented 6 years ago
original author: Anonymous
date: 2012-09-12T08:26:35-04:00

Ciao Marina, thank you for your job. I'm trying to apply this tutorial using Windows7,CS6.

Can you help about step 3?

Tnx in advance

phinjensen commented 6 years ago
original author: Anonymous
date: 2013-01-08T12:37:51-05:00

Hello.

I am java development.

Do you have some example of two people chating (videoconference)?

Thank you

phinjensen commented 6 years ago
original author: 24o7Network
date: 2013-02-10T08:41:14-05:00

We bought this server 3 days ago: 1 x 3.4GHz / 32GB Intel E1240-V2 3.4GHz CPU 32GB ECC 1333MHz RAM 1 x 120GB SSD 10TB Data Transfer 100Mbps Premium IP

We are running a streaming server (Red5) here. It is being used to record user's webcam streams. We're facing huge frame drops onthis server, resulting in jerky videos.

Earlier we ran the setup on a domestic PC on a 1 Mbps line. We've successfully tested it from various locations throughout the world, including the US. We've recorded multiple videos without any frame drops, but no matter what connection speed, recording to your server gives us frame drops.

The set up on this server was copied as-it-is from our domestic PC. No changes were made, except the file paths.

What could possibly be the problem? Something on the Red5 part of things is dropping frames. The client side, a flash recorder is the same with the same recording settings.

We are using: Red5 0.8, Flash-VideoIO recorder on Ubuntu 12.04 LTS x64.

phinjensen commented 6 years ago
original author: Anonymous
date: 2013-03-19T10:07:32-04:00

It sounds maybe a stupid question, but I can't figure it out. How do you get the source code of the actionscript in step 2? I downloaded the trial of Flash Professional and Flash builder, but I can't figure out how I to open the scripts in the fla file (simpleSubscriber.fla).

I Googled it, but non of the solutions worked so far :(

phinjensen commented 6 years ago
original author: Marina Lohova
date: 2013-03-19T12:18:02-04:00

Anonymous,

my trial has expired, so I can't recheck, but as far as I remember you should go the the Library panel in Flash CS6, right-click on the movie clip and choose "Edit Class".

Hope it helps!

phinjensen commented 6 years ago
original author: Anonymous
date: 2013-04-09T13:05:21-04:00

Thanks a lot for the articles!!

phinjensen commented 6 years ago
original author: Kim Hùng Lê
date: 2013-05-25T06:34:48-04:00

I have a error "Fatal error: exception Sys_error("simpleBroadcaster.swf: No such file or directo ry")". Please help me.....

phinjensen commented 6 years ago
original author: David Rehle
date: 2013-05-29T13:18:26-04:00

Same here :-(

Fatal error: exception Sys_error("simpleBroadcaster.swf: No such file or directory")

What to do now?

Please help...

phinjensen commented 6 years ago
original author: David Rehle
date: 2013-05-29T14:12:40-04:00

ok, comiler says option -swf means update, so i've copied the original .swf to the classes folder, then it works

thx for this tutorial

phinjensen commented 6 years ago
original author: Marina Lohova
date: 2013-07-29T12:32:44-04:00

Hello, guys,

I added simpleBroadcaster.swf to the repo and corrected the code in the blog post.

Thanks for pointing out the problem!

phinjensen commented 6 years ago
original author: Anonymous
date: 2013-08-12T02:26:43-04:00

Hi Marina, thanks for your article. I don't quite understand one thing. Where exactly does the encoding part of the video happen? Does the simple broadcaster take care of it? Can i setup specific bitrate at which the video will stream? Thanks in advance for clarification David

phinjensen commented 6 years ago
original author: Ryan Maule
date: 2013-09-01T11:28:35-04:00

This works well!

The output of Subscriber is not the same as the input of Broadcaster. simpleBroadcaster shows my video feed in widescreen (macbook pro cam). simpleSubscriber seems to crop the video output.

Any ideas how to solve that Marina?

phinjensen commented 6 years ago
original author: Aswin Sundaram
date: 2013-11-27T12:24:29-05:00

This comment has been removed by the author.

phinjensen commented 6 years ago
original author: Mark
date: 2013-11-27T18:46:49-05:00

Hi, would you be able to share the modified versions of simpleBroadcaster.swf and simpleSubscriber.swf please?

phinjensen commented 6 years ago
original author: akc
date: 2014-06-19T06:46:14-04:00

hey sweetie "Marina Lohova" beautiful pic of ur.. i like that. And very good tutoiral too....

phinjensen commented 6 years ago
original author: AnilKumar Kammari
date: 2014-07-10T01:06:06-04:00

Hey Marina, I want to add the the broadcasting to my webapp. How to proceed. I have running red5 and your demos are working. But to embed this in a normal webpage running is some other server? Thanks in advance

phinjensen commented 6 years ago
original author: satya
date: 2014-08-14T07:28:57-04:00

Hello,

I want to know does RED5 supports variable play or trip play of video like wowza has.

phinjensen commented 6 years ago
original author: Syed.Salman Shah
date: 2015-03-16T17:09:58-04:00

Hello How can Stream my web cam or any other video streaming device on red5

phinjensen commented 6 years ago
original author: alejandro Romero
date: 2015-04-13T11:13:26-04:00

Hi Marina, I'm trying to compile in Windows but I had this error: class not found: org.red5.net.Stream I would appreciate your help!

phinjensen commented 6 years ago
original author: bijil kuriakose
date: 2015-05-07T05:42:56-04:00

Can anyone guide me to create a virtual classroom please please please......

phinjensen commented 6 years ago
original author: Fero Gachulinec
date: 2015-12-29T09:29:23-05:00

Very good guide Marina. I am sending a modified oflaDemo.swf with TV File Manager (use password: test) here: http://www.47tsi.com:5080/test/tv.html

SelimEmre commented 5 years ago

Hi Marina, Thanks for the details. You can also review Ant Media Server. Ant Media Server Low Latency solutions are awesome. Ant Media Server Github Page: https://github.com/ant-media/Ant-Media-Server Ant Media Server Google Group: https://groups.google.com/forum/m/#!forum/ant-media-server Also review website: https://antmedia.io Best Wishes