peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Can't seem to play remote Video

Open CeoFred opened this issue 5 years ago • 7 comments
trafficstars

Peerjs handles connection, signalling and every other thing perfectly. I get my on stream event fired, and a mediaStreamObject is received from the remote end, but after i set the srcObject of a video element the video does not play, any reason why??

CeoFred avatar Jun 12 '20 16:06 CeoFred

teuing bray, aing ge kitu saruana

Airell98 avatar Jun 29 '20 08:06 Airell98

@CeoFred does your video tag have an autoplay attribute? And are you seeing the same behavior in firefox and chrome?

bennlich avatar Jul 02 '20 07:07 bennlich

Yes , I actually have solved that issues.. but I get another issue though, on my live server , I seem to see a duplicate of peers videos.

On Thu, Jul 2, 2020, 8:17 AM Benny Lichtner [email protected] wrote:

@CeoFred https://github.com/CeoFred does your video tag have an autoplay attribute? And are you seeing the same behavior in firefox and chrome?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/peers/peerjs/issues/682#issuecomment-652830644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3QHHQBTXS2L2EGJKYNMMDRZQYBVANCNFSM4N4PTXXA .

CeoFred avatar Jul 02 '20 08:07 CeoFred

Yes , I actually have solved that issues.. but I get another issue though, on my live server , I seem to see a duplicate of peers videos.

@CeoFred Can you share the solution to the problem? Why was your remote video playing?

eysteinbye avatar Aug 09 '20 11:08 eysteinbye

So you actually need to have your internet connection up and running for signaling to happen.. note that, your servers do little or no work with the data transfer, only sets up a network connection between two or more endpoints, I'll call the server a signalling server.. this is actually what worked for me.

On Sun, Aug 9, 2020, 12:29 PM Eystein Bye [email protected] wrote:

Yes , I actually have solved that issues.. but I get another issue though, on my live server , I seem to see a duplicate of peers videos. … <#m_5473063496542611014_>

@CeoFred https://github.com/CeoFred Can you share the solution to the problem? Why was your remote video playing?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/peers/peerjs/issues/682#issuecomment-671040360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3QHHRUF2WHVN4KKUGZKMLR72CCJANCNFSM4N4PTXXA .

CeoFred avatar Aug 09 '20 16:08 CeoFred

I am facing the same problem I tried following @CeoFred but I don't get it. It looks like it works sometimes and sometimes it never works.

iamafasha avatar Sep 03 '20 14:09 iamafasha

Well, you are not doing something right then

On Thu, Sep 3, 2020 at 3:39 PM Afasha Isakiye [email protected] wrote:

I am facing the same problem I tried following @CeoFred https://github.com/CeoFred but I don't get it. It looks like it works sometimes and sometimes it never works.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/peers/peerjs/issues/682#issuecomment-686538027, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH3QHHSHKBG3EWDDBDN325TSD6TBFANCNFSM4N4PTXXA .

CeoFred avatar Sep 03 '20 15:09 CeoFred