Comments (16)
just ignore the error.
do you have any troubles streaming media?
from nginx-rtmp-module.
hi
::: do you have any troubles streaming media?
yes :)
my flash app still cannot connect to the server, I get onNetStatus() :: NetConnection.Connect.Failed
from nginx-rtmp-module.
I need to see your log.
Please compile your NGINX with "--with-debug" and add
"error_log /logs/nginx_error_log debug;" to nginx.conf.
Then send me the log please.
from nginx-rtmp-module.
you can find it here
sorry for useless clutter, anyway, from the start I've removed lines with .. mutex lock, etc..
from nginx-rtmp-module.
NetConnection.Connect.Failed means your flash client could not reach RTMP server (network error).
However I see connection attempt in log (connect() command has been successfully processed by server and connection has been closed afterwards). Please
- check your port is accessible from where you connect
- try ffplay/rtmpdump to see what happens
from nginx-rtmp-module.
rtmpdump and ffmpeg are working ok, flashplayer does'nt :-|
I still get
2012/04/24 10:32:00 [alert] 17073#0: *10 epoll_ctl(2, 12) failed (2: No such file or directory) while sending client greeting line, client: 109.185.142.195, server: 0.0.0.0:1936
while I try to connect from flashplayer
I use port 1936
on 1935 I have other media server http://www.rtmpd.com/, and it's working ok
I think flashplayer is loosing the connection before your module accept connection
from nginx-rtmp-module.
I'v recently merged optsend branch into master. epoll_ctl error should not appear any more with the new code. But it has nothing to do with the connection error. Anyway please try again with the new code and send the log again. But please make sure you do not connect with ffmpeg/whatever before connecting from flashplayer. It's hard to tell which connection attempt came from ffmpeg or flash while watching the log.
from nginx-rtmp-module.
Hi, here is the updated log
http://pastebin.com/6uUh8jni
I've used NetConnection with objectEncoding AMF3 and AMF0
I can upload to github my as3 code or I can make a screencast, or share screen via skype, if that will help to solve this issue :)
ps. I speak russian
EDIT: we have compiled module from latest sources
from nginx-rtmp-module.
хорошо :)
It'd be better not to use AMF3 because it's not supported
from nginx-rtmp-module.
Yes upload your code please. I'll watch what the problem could be.
from nginx-rtmp-module.
Hi, done :)
https://github.com/rodislav/as3tests
from nginx-rtmp-module.
Rodislav do you have html/swf to test? I have no Windows machine around to compile that. My gentoo is no good for that.
BTW I saw h264 in your code. I've not tested that yet and that definitely CAN be a problem (h264 needs special handling in RTMP). Try setting another video encoding.
from nginx-rtmp-module.
Hi, swf file is compiled and added to repository
H264 settings are removed :)
swf can be opened with any browser which supports flash, just drag it in a new tab or you can download flashplayer from here http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa_debug.i386.tar.gz
you have a simple UI to change url:port, app and stream names, connect button and console
if everything will pass ok, a dialog will popup with request to acces camera and app will start the stream
[just in case]
I also use linux - ubuntu, you can compile this code very easy by runing
/path_to_sdk/flex_sdk_4.6/bin/mxmlc Test.as
sdk can be downloaded from here
http://download.macromedia.com/pub/flex/sdk/flex_sdk_4.6.zip
from nginx-rtmp-module.
OK I'll try that ASAP. What about h264? Did it help?
upd: I see it didn't.
from nginx-rtmp-module.
Here's a simple patch to make the test work
http://pastebin.com/wQy7hK68
you need to set objectEncoding not defaultObjectEncoding.
from nginx-rtmp-module.
it worked, thanks :)
from nginx-rtmp-module.
Related Issues (20)
- Rename HLS stream directory in on_publish HOT 1
- Server still seeing live even if interrupted by internet connexion down from emetter? HOT 3
- Control Module returns error 500
- [Windows] Trouble compiling the module on Windows
- aung2 HOT 1
- rtmp模块支持lua吗?
- on_publish, connection refuses no matter what I put in it. HOT 1
- How to convert RTMP to HTTP-FLV?
- No env available to exec
- Unused variables
- Failed to relay on_publish HOT 1
- Multiple streams on the same app HOT 1
- streaming in a high latency environment?
- RTMP stream not accepted by NGNIX
- Docker image HOT 2
- exec_publish scripts access
- Streaming panel - accounting HOT 1
- [Question] How to consume the rtmp stream HOT 1
- Error: already publishing HOT 4
- Does not compile with default options on Apple clang 14.0.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-rtmp-module.