Coder Social home page Coder Social logo

Comments (17)

pedroSG94 avatar pedroSG94 commented on September 27, 2024

No tested but should work. Facebook use rtmp protocol. Youtube use rtmp too and work.
You can test here: (https://www.facebook.com/live/create)

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

For youtube, how make stream?

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

Go creator studio in youtube, select live stream, stream now and use data in configuration.
Example result: rtmp://a.rtmp.youtube.com/live2/yournamereveal

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

ok,for facebook i try put rtmp url : rtmp://rtmp-api.facebook.com:80/rtmp/10206961474594258?ds=1&s_l=1&a=AThR6e6Lvxjjxwwi

not working stream into my timeline. can u fix it and check

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

ok, I will check it.

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

i try use you tube and put format rtmp like this = rtmp://a.rtmp.youtube.com/live2/yournamereveal

but still cant stream to my youtbe

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

Are you sure you did well? I tested youtube after tell you and work.
Remember you need verify your account.
If app work will tell you connect success

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

u have skype? add mine please = poster994. i want discuss how setup it

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

Facebook is now working :).

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

realy? how the setting ?

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

Was a rtmp module problem. You can use defaultrtmp activity for test

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

i mean url format rtmp facebook? how put format. Only like this = http://rtmp-api.facebook.com/rtmp/ ?

or http://rtmp-api.facebook.com/rtmp/user-id?ds=1&s_l=1&a=ATj6kVTxfnHJlMPN ?

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

like this:
rtmp://rtmp-api.facebook.com:80/rtmp/1892213090993296?ds=1&s_l=1&a=ATj36DtGn3Xbe_9O

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

its can stream to facebook timeline? istill not success

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:588)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at libcore.io.IoBridge.recvfrom(IoBridge.java:552)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.net.PlainSocketImpl.read(PlainSocketImpl.java:481)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:237)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.io.InputStream.read(InputStream.java:162)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:149)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.io.BufferedInputStream.read(BufferedInputStream.java:234)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at com.github.faucamp.simplertmp.packets.Handshake.readS0(Handshake.java:49)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at com.github.faucamp.simplertmp.io.RtmpConnection.handshake(RtmpConnection.java:104)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at com.github.faucamp.simplertmp.io.RtmpConnection.connect(RtmpConnection.java:147)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at com.github.faucamp.simplertmp.DefaultRtmpPublisher.connect(DefaultRtmpPublisher.java:28)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at net.ossrs.rtmp.SrsFlvMuxer.connect(SrsFlvMuxer.java:117)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at net.ossrs.rtmp.SrsFlvMuxer.access$000(SrsFlvMuxer.java:48)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at net.ossrs.rtmp.SrsFlvMuxer$1.run(SrsFlvMuxer.java:152)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at java.lang.Thread.run(Thread.java:818)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: Caused by: android.system.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at libcore.io.Posix.recvfromBytes(Native Method)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at libcore.io.Posix.recvfrom(Posix.java:189)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:250)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: at libcore.io.IoBridge.recvfrom(IoBridge.java:549)
04-18 07:35:58.857 5812-6321/com.pedro.rtmpstreamer W/System.err: ... 14 more

from rtmp-rtsp-stream-client-java.

pedroSG94 avatar pedroSG94 commented on September 27, 2024

http://stackoverflow.com/questions/11207394/getting-socketexception-connection-reset-by-peer-in-android

from rtmp-rtsp-stream-client-java.

lordmen99 avatar lordmen99 commented on September 27, 2024

please update ur code so, working on wifi with firewall..

from rtmp-rtsp-stream-client-java.

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.