erlyvideo / erlyvideo-old Goto Github PK
View Code? Open in Web Editor NEWerlyvideo
Home Page: http://erlyvideo.org/
erlyvideo
Home Page: http://erlyvideo.org/
День добрый.
Пытался заставить работать {apps_rewrite_publish, "http://erlyvideo.org/"} и {event_handlers, [
{stream_stopped, {ems_hook_http, "http://erlyvideo.org/"}}]} на erlyvideo-2.4.13(использую его т.к. старый erlang) - не работает, хотя {apps_rewrite_play, "http://erlyvideo.org/"} срабатывает
хотелось бы остаться на 2.4.13.
Решил попробовать последнюю версию, вот что получилось
...................................
...................................
** When Server state == {rtmp_session,undefined,ems_rtmp,<0.171.0>,
"192.168.1.103",58362,undefined,0,[],
undefined,[],[],0,0,[],[],[]}
** Reason for termination ==
** {invalid_cookie_signature,[{rtmp_cookie,verify_signature,3},
{rtmp_cookie,decode,2},
{rtmp_cookie,connect,2},
{trusted_login,connect,2},
{ems_rtmp,call_mfa,3},
{rtmp_session,call_function_callback,2},
{rtmp_session,handle_info,2},
{gen_server,handle_msg,5}]}
........................
........................
error 2012-03-20 14:19:46 <0.172.0> {crash_report,[[{initial_call,{rtmp_session,init,['Argument__1']}},{pid,<0.172.0>},{registered_name,""},{error_info,{exit,{invalid_cookie_signature,[{rtmp_cookie,verify_signature,3},{rtmp_cookie,decode,2},{rtmp_cookie,connect,2},{trusted_login,connect,2},{ems_rtmp,call_mfa,3},{rtmp_session,call_function_callback,2},{rtmp_session,handle_info,2},{gen_server,handle_msg,5}]},[{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[rtmp_session_sup,rtmp_sup,<0.97.0>]},{messages,""},{links,[<0.101.0>]},{dictionary,[{random_seed,{1332,19437,28661}}]},{trap_exit,false},{status,running},{heap_size,610},{stack_size,24},{reductions,974}],""]}
error 2012-03-20 14:19:46 <0.101.0> {supervisor_report,[{supervisor,{local,rtmp_session_sup}},{errorContext,child_terminated},{reason,{invalid_cookie_signature,[{rtmp_cookie,verify_signature,3},{rtmp_cookie,decode,2},{rtmp_cookie,connect,2},{trusted_login,connect,2},{ems_rtmp,call_mfa,3},{rtmp_session,call_function_callback,2},{rtmp_session,handle_info,2},{gen_server,handle_msg,5}]}},{offender,[{pid,<0.172.0>},{name,undefined},{mfargs,{rtmp_session,start_link,undefined}},{restart_type,temporary},{shutdown,2000},{child_type,worker}]}]}
crash'иштся при коннекте
FLV<...some chars here...>HTTP/1.1 500 Internal Server Error
Date: Thu, 12 Jul 2012 21:18:47 GMT
Server: misultin/0.8-dev
Connection: Keep-Alive
Content-Length: 1183
Content-Type: text/plain
500 Server Error
["flv","iptv"]
error:<<"function_clause">>:[{flv,video_codec,
[mpeg2video],
[{file,"src/flv.erl"},{line,128}]},
{flv,encode_video_tag,1,
[{file,"src/flv.erl"},{line,426}]},
{flv_video_frame,to_tag,1,
[{file,"src/flv_video_frame.erl"},
{line,145}]},
{flv_writer,dump_frame_in_file,2,
[{file,"src/flv_writer.erl"},{line,242}]},
{flv_writer,handle_message,2,
[{file,"src/flv_writer.erl"},{line,179}]},
{ems_http_flv,http,4,
[{file,"src/http/ems_http_flv.erl"},
{line,48}]},
{ems_http,try_handler,5,
[{file,"src/http/ems_http.erl"},{line,63}]},
{proc_lib,init_p,3,
[{file,"proc_lib.erl"},{line,212}]}]
Guys,
I'm getting this error with the latest version of Erlyvideo from Github:
==> erlyvideo (compile)
==> elixir (compile)
make[1]: Entrando no diretório `/win/erlyvideo/apps/elixir'
Compiling Elixir source ...
erl -I include -noshell -pa ebin -s elixir_compiler core -s erlang halt
Compiling lib/module.ex
{"init terminating in do_boot",{{badmatch,{error,einval}},[{elixir_compiler,binary_to_path,2},{lists,foreach,2},{elixir_compiler,'-core/0-lc$^0/1-0-',1},{elixir_compiler,core,0},{init,start_it,1},{init,start_em,1}]}}
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
make[1]: ** [exbin] Erro 1
make[1]: Saindo do diretório `/win/erlyvideo/apps/elixir'
ERROR: Command [compile] failed!
make: ** [compile] Erro 1
I'm using Ubuntu 11.10 with Erlang R14B02 (erts-5.8.3) and :
root@casabh:/win/erlyvideo# uname -a
Linux casabh 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:25:36 UTC 2011 i686 athlon i386 GNU/Linux
Ни мой обработчик событий в плагине, ни
{event_handlers, [
{user.connected, {ems_hook_http, "http://localhost:8000/"}}
]},
не вызываются, из чего я сделал вывод, что он не рассылается вовсе.
hello, i am trying to configure erlyvideo on OSX but get this error, here is what i did:
$ git clone https://github.com/erlyvideo/erlyvideo
$ cd erlyvideo
$ $ make
./rebar get-deps
==> amf (get-deps)
==> erlmedia (get-deps)
==> erlyvideo (get-deps)
..
Compiled src/ems_event_consumer.erl
src/ems_rtmp.erl:112: variable 'Player' is unbound
src/ems_rtmp.erl:112: record rtmp_stream undefined
make: *** [compile] Error 1
what am i missing?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.