ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 632 forks source link

React Native #2223

Closed sonho142 closed 3 years ago

sonho142 commented 4 years ago
mekya commented 4 years ago

Yeah sure. We know some guys in the community uses the below project for implementing JavaScript SDK. https://github.com/react-native-webrtc/react-native-webrtc

hoanghiep commented 4 years ago

@sonho142 I tried but it did not work. react-native-webrtc and many phones (my test is nokia 5.1) only support vp8 encode, but ant media only accepts h264. I also tried ant media 2.0 enterprise (vp8 supported) but no luck, only native android sdk works.

@mekya https://github.com/ant-media/Ant-Media-Server/issues/1849 dose it work?

logandhead commented 4 years ago

Any update? Would love an example of how this could work on react-native.

CyrusZei commented 3 years ago

any chance you can show a basic example of this ?

CyrusZei commented 3 years ago

on how to use react-native-webrtc and the ant media rest API. This would be great to do

mekya commented 3 years ago

Hi @CyrusZei ,

I'm increasing the priority of this issue to have a working example. I think we can schedule it in a few weeks.

Regards, A. Oguz

CyrusZei commented 3 years ago

Thank you so much for this! As soon as I understand this and get it working I can make PR to the documentation with some more examples.

On Tue, 5 Jan 2021 at 09:00, Ahmet Oğuz Mermerkaya notifications@github.com wrote:

Hi @CyrusZei https://github.com/CyrusZei ,

I'm increasing the priority of this issue to have a working example. I think we can schedule it in a few weeks.

Regards, A. Oguz

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ant-media/Ant-Media-Server/issues/2223#issuecomment-754472818, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGR3T2GFOG7G32PHM7Y63LSYLBKPANCNFSM4NSMIYYQ .

-- With regards Cyrus_Zei [ Developer + Designer = Unicorn]

TecladistaProd commented 3 years ago

I'm working on a port of webrtc-adaptor to RN using react-native-webrtc, you can find here the package I'm working on https://www.npmjs.com/package/rn-antmedia, I'm using on an app and for me it's working well.

eneskuluk commented 3 years ago

Hi @TecladistaProd

Thank you for your contribution to the community! I will try to test as soon as possible.

eneskuluk commented 3 years ago

@TecladistaProd I tested it and it looks promising! I'm planning to send pull requests to help you. Also, do you have some spare time for video call? That would be really good if you had some. If you have, could you send your email address to me or you can directly mail to my mail address here: enes.kuluk@antmedia.io so we can arrange appropriate time for it.

Best Regards, Enes.

CyrusZei commented 3 years ago

I'm working on a port of webrtc-adaptor to RN using react-native-webrtc, you can find here the package I'm working on https://www.npmjs.com/package/rn-antmedia, I'm using on an app and for me it's working well.

I am so gonna sponsor that codebase. Open it up for sponsors.

mekya commented 3 years ago

Great idea, thank you @CyrusZei

I'm also going to be a sponsor for that codebase.

TecladistaProd commented 3 years ago

@eneskuluk Thanks for testing, i'm developing this lib and the same time using in a project, i'll send to you an e-mail to talk better about the video call and the project.

TecladistaProd commented 3 years ago

@CyrusZei @mekya Please how could i open for sponsors ?

mekya commented 3 years ago

Go to project settings at Github

Check out the Sponsorships under the Features ;)

Screen Shot 2021-01-29 at 00 40 03
TecladistaProd commented 3 years ago

@mekya

Thank you so much. It's done.

mekya commented 3 years ago

I made first donation yesterday. I'm going to make more donation. Please keep in touch with @eneskuluk

Thank you again for your great work @TecladistaProd

TecladistaProd commented 3 years ago

Thanks a lot @mekya for your donation. I'm so happy to help with this project.

CyrusZei commented 3 years ago

@TecladistaProd Monthly donation activated. Keep up the good work

TecladistaProd commented 3 years ago

@CyrusZei , really thank you very much.

Phrosh commented 3 years ago

I'm working on a port of webrtc-adaptor to RN using react-native-webrtc, you can find here the package I'm working on https://www.npmjs.com/package/rn-antmedia, I'm using on an app and for me it's working well.

You, sir, are my personal hero now :)

sanjay628 commented 3 years ago

@TecladistaProd i'm using rn-antmedia for video calling but its throwing error "publishtimeouterror". and i dont know why it is happening. have any idea about it???

TecladistaProd commented 3 years ago

@Phrosh Thanks for appreciate. @sanjay628 i don't know why this is happening, i'll take a look, could you share your code please ?

sanjay628 commented 3 years ago

On Fri, 19 Feb 2021 at 12:26 AM, Vitor Silva notifications@github.com wrote:

@Phrosh https://github.com/Phrosh Thanks for appreciate. @sanjay628 https://github.com/sanjay628 i don't know why this was happening, i'll take a look, could you share your code please ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ant-media/Ant-Media-Server/issues/2223#issuecomment-781563813, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDDKHYA2R5TPXDWDPIITBDS7VPEHANCNFSM4NSMIYYQ .

Hello

If its possible can we connect on skype and look into this?

shakuniyamihir8400 commented 3 years ago

Archive.zip

Screenshot 2021-02-19 at 11 03 38 AM

please have look on our code.

mekya commented 3 years ago

Hi Guys,

publishTimeout may happen if the udp ports are not open. In other words, ICE connection cannot be established.
Another reason of publishTimeout is that server does not get video or audio frames from the connection for a specified time.

Regards, A. Oguz

shakuniyamihir8400 commented 3 years ago

@mekya So, how can i resolve this issue? is this issue from frontend side or server side???

mekya commented 3 years ago

It's about server side. Open the UDP ports on the server side. Check this out https://github.com/ant-media/Ant-Media-Server/wiki/Installation#server-ports

shrsthameet commented 3 years ago

Has anyone tried ant media server with reactjs web? if so, can you help me with it.

mekya commented 3 years ago

Hi @shrsthameet , As far as I know, some guys in the community have been using Ant Media Server via reactjs web. However, we don't have any resource to give you for direct help at this time. Sorry for my side.