Giter VIP home page Giter VIP logo

rn-antmedia's People

Contributors

eduwr avatar sagark1510 avatar tecladistaprod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rn-antmedia's Issues

publishTimeoutError


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???

No event  fires when someone joins to the room

I ran the code from the readme.md

Current Behavior:

  1. Join from device A
  2. Join from device B
  3. Device B shows local video as well as remote video
  4. Device A doesn't show remoteVideo as remoteStreams doesn't have any new stream
  5. No newStreamAvailable command gets fired on Device A

Expected Behavior:

  1. Join from device A
  2. Join from device B
  3. Device B shows local video as well as remote video
  4. Device A shows local video as well as remote video
  5. newStreamAvailable command gets fired

Seems, onTrack method is not getting called which is responsible for adding new remoteStreams

url == null

When we click on start Button we get error url == null

NoSpaceForNewPeer [ Android ]

Happens when I tried to join a streamId using adaptor.join(), then disconnect using adaptor.leave() then join again.
What should I do when I receive this error from error callback? I tried running adaptor.leave() when on errorCallback but still the same.

iOS Playing Livestream Crash

I tried implementing a livestream code following the Peer view sample code on example folder. On android it works perfectly, both broadcasting and playing livestream but on iOS only broadcasting works, Playing functionality causes App to crash immediately after running adaptor.play.

The first thing I noticed is that remoteMedia is not picking up anything causing "No video stream for react tag" error at the start of the screen but it only happens on iOS.

My adaptor on Play screen looks like this:

image

And my RTCView looks like this:

image

I turned off video and audio since its just playing a stream and not sending the stream then I turned onlyDataChannel true because it won't let me start the adaptor without video and audio. Again everything works perfectly on android. It only crashes on iOS once I run PlayerAdaptor.play(streamId);

Start Video constraint after adaptor is initialized

Hi @TecladistaProd ,

I'm working on conference and I offer user control to start conference with audio only and later they can turn on the video. However if I pass video: false in the mediaconstraint so that user won't get unnecessary prompt for camera permission,
later we don't have any way to add the video stream into existing stream.

i.e.
I start with

 const adaptor = useAntMedia({
    url: webSocketUrl,
    mediaConstraints: {
      video:false,
      audio: true,
    },
    sdp_constraints: {
      offerToReceiveAudio: true,
      offerToReceiveVideo: true,
    },
})

Now, how can I add the video stream to remote peer connections or which antmedia websocket command can help us do that?

Any solution would be much appreciated.

Antmedia user not connecting over live stream

We want to do like education App.
First Teacher start Live Broadcasting each user start watching on it. If user has doubt on it. student press a button they will join over call.Each user Licensing conversation of it .When teacher disconnect call call user disconnect . and now he became listneing.
For play live stream we use this
const play = useCallback(
(room, streamId) => {
const data = {
command: 'play',
room,
streamId,
};
setRoomName(room);

  if (socket.ws) socket.ws.sendJson(data);
},
[socket.ws],

);

for joining room
we ue this
const joinRoomw = useCallback(
(room, streamId) => {
const data = {
command: 'joinRoom',
room,
streamId,
};
setRoomName(room);

  if (socket.ws) socket.ws.sendJson(data);
},
[socket.ws],

);

But there iss sproblem sometime is coneected sometime not connected

TypeError: undefined is not an object

TypeError: undefined is not an object (evaluating 'remotePeerConnection[streamId].dataChannel')
I am getting this error while running chat example on both iOS and Android.

this error throws at var dataChannel = remotePeerConnection(...)
rn-antmedia.cjs.development.js (807:23)

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.