Coder Social home page Coder Social logo

Comments (33)

jprjr avatar jprjr commented on July 20, 2024 1

Alright, I think I've banged out a JSON API to cover all the use cases - take a look at the wiki:

https://github.com/jprjr/multistreamer/wiki/JSON

I also documented the websocket API used for sending/receiving chat messages

https://github.com/jprjr/multistreamer/wiki/WebSocket

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

i will contribute to it i hope it will be easy

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

./bin/multistreamer -e production run
/usr/bin/lua: error loading module 'posix.ctype' from file '/root/multistreamer/lua_modules/lib/lua/5.1/posix.so':
/root/multistreamer/lua_modules/lib/lua/5.1/posix.so: undefined symbol: luaL_fileresult
stack traceback:
[C]: ?
[C]: in function 'require'
...ltistreamer/lua_modules/share/lua/5.1/posix/init.lua:29: in main chunk
[C]: in function 'require'
/root/multistreamer/bin/multistreamer.lua:12: in main chunk
[C]: ?
how to fix this issue? @jprjr

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

That usually happens if you start multistreamer with a different version of lua than you compiled the lua modules with. Multistreamer tries to use luajit, if it's in PATH, then lua. It looks like luajit wasn't in your PATH, so it opted for the system's version of lua.

You can specify which lua/luajit to use with the -l switch, so try something like:

./bin/multistreamer -e production -l /path/to/luajit run

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

./bin/multistreamer -e production -l /opt/openresty-rtmp/luajit/bin/luajit run
/opt/openresty-rtmp/luajit/bin/luajit: ...multistreamer/lua_modules/share/lua/5.1/lapis/config.lua:133: error loading module 'config' from file './config.lua':
./config.lua:96: unfinished string near '','
stack traceback:
[C]: in function 'error'
...multistreamer/lua_modules/share/lua/5.1/lapis/config.lua:133: in function 'get'
./multistreamer/config.lua:1: in main chunk
[C]: in function 'require'
/root/multistreamer/bin/multistreamer.lua:51: in main chunk
[C]: at 0x004047d0
@jprjr

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

I would check between lines 94 and 96 of your config.lua file and make sure you don't have any runaway quotes

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

image

docker gives me following error

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

main version is working fine but i cannot connect to streamign server

image

image

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

image

one more issue

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

image

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

image

i have checked with resolving issue fine facebook still issue i use latest version it self

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

image
this is the final image

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

For facebook: double-check you have 9.0.1 pulled down. There's no way for len to be undefined in 9.0.1

That Unrecoverable error message usually means multistreamer couldn't connect to redis or sockexec. Check the logs and make sure redis-server and/or sockexec is running.

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

i have pulled master branch and as of logs i see its edited on jul4
image

facebook issue is fixed cause i have replaced with latest network file

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

I would suggest saving your config.lua, wipe out and replace multistreamer. 9.0.1 was released on July 6

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

image

after adding youtube

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

no categories showing in dash board i check drop down already
image

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

What is your country code set to, in your config.lua?

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

country is KH and some pcs getting error like this
image

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

re: youtube - it looks like kh doesn't return any video categories - you can test country codes here: https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.videoCategories.list?part=snippet&regionCode=kh&_h=2& - I'd just pick another country code nearby that gives categories

re: facebook - I just committed a fix, pull down from master and give that a try

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

youtube does not work i have enabled what you have mentioned in document

image

image

image

unable to stream to rtmp why server not accepting connections

i have finally understand i must facebook application should have permissions to access other profiles.
from my acccount am able to live to facebook

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

For YouTube: go to https://www.youtube.com/live_dashboard and make sure your YouTube account has livestreaming enabled.

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

youtube is fine able to work for all users who have live streaming enabled. but for facebook it cannot stream to other accounts except mine may i know solution for it ?

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

Have you submitted the app to Facebook for review? If you haven't done that yet (it's a process, you have to write up a privacy policy, create an icon, etc), only admins of the Facebook app can use the live video features. Details here: https://developers.facebook.com/docs/facebook-login/review/requirements

I only have 3 other people using my instance of Multistreamer, so I just added them all as admins to the app.

I've never tried submitting to Facebook for login review, so I'm not 100% sure how it would go.

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

You might be able to just add people as testers of the app and leave it in development mode, instead of adding them as administrators.

The docs only list "admins", but sometimes the docs are out-of-sync from reality - https://developers.facebook.com/docs/videos/live-video/getting-started#permissions

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

I just confirmed, it looks like you can add users as "testers" to the app instead of admins

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

i got approval from facebook for live video api. still it says app does not have permissions to stream i need to check what the issue. is there any additional details required to make in the app.

from multistreamer.

jprjr avatar jprjr commented on July 20, 2024

Not that I can think of, at this point it should all be working

from multistreamer.

alienmaster9 avatar alienmaster9 commented on July 20, 2024

thank you so much @jprjr for quick support everything is working fine now.

from multistreamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.