简体   繁体   English

你如何处理Flash AS3中的实时视频流?

[英]How do you handle live video streaming in Flash AS3?

I've been dabbling with socket servers in Java and now I'm ready to get my feet wet with an idea I had. 我一直在用Java编写套接字服务器,现在我已经准备好了解我的想法。

I would like to use python for my socket server and obviously AS3 for my client. 我想使用python作为我的套接字服务器,显然我的客户端使用AS3。 I'm able to create a full chat using my own python socket server but I'm almost clueless what to do now that I want to add in LIVE video (want to make it a live video "chat"). 我可以使用我自己的python套接字服务器创建一个完整的聊天,但我现在几乎无法做什么,我想添加LIVE视频(想要使它成为实时视频“聊天”)。

I've found tutorials but they are for FMS and I can not afford that, also Red5 looked nice but couldn't find a live video tutorial off hand (plus I would have to switch to Red5 from my own socket server). 我已经找到了教程,但它们是用于FMS而我负担不起,Red5看起来还不错但是找不到现场视频教程(另外我必须从我自己的套接字服务器切换到Red5)。

So if someone could even nudge me into some resources on the subject (the subject of live video without using FMS) that would be very helpful, Google is failing me right now. 因此,如果有人甚至可以推动我对这个主题(不使用FMS的直播视频主题)的一些资源非常有帮助,那么谷歌现在就让我失望了。

some fms server alternatives... about their features, u need to check them out individually.. 一些fms服务器替代品...关于他们的功能,你需要单独检查它们..

  1. http://code.google.com/p/rtmplite/ - python http://code.google.com/p/rtmplite/ - python

  2. http://rtmpy.org - python http://rtmpy.org - python

  3. http://code.google.com/p/haxevideo/ - haxe : C++ etc http://code.google.com/p/haxevideo/ - haxe:C ++等

  4. red5 - u already using it red5 - 你已经在用它了

  5. http://www.wowzamedia.com/ - Java http://www.wowzamedia.com/ - Java

  6. http://www.themidnightcoders.com/products.html - .NET, Java http://www.themidnightcoders.com/products.html - .NET,Java

  7. http://code.google.com/p/erlyvideo/ - Erlang http://code.google.com/p/erlyvideo/ - Erlang

  8. http://code.google.com/p/rubyizumi/ - Ruby http://code.google.com/p/rubyizumi/ - Ruby

  9. http://www.rtmpd.com/ - C++ http://www.rtmpd.com/ - C ++

  10. http://wiki.gnashdev.org/Cygnal - C++ http://wiki.gnashdev.org/Cygnal - C ++

  11. http://mammothserver.org/ - C++ http://mammothserver.org/ - C ++

I have no experience on using Red5, but... 我没有使用Red5的经验,但......

As I can remember, Red5 is designed such that, it can be used in the exactly same way as FMS... 我记得,Red5的设计使其可以与FMS完全相同的方式使用......

So you can just swap the server parameters in as3 to switch back and fore between Red5 and FMS. 因此,您只需在as3中交换服务器参数即可在Red5和FMS之间切换回来。

Correct me if I am wrong :P 如果我错了,请纠正我:P

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM