Jump to content
  • 0

Android SDK support for custom WebRTC video stream (not from phone camera)


Dario
 Share

Question

Hi,

trying to see if can achieve the following with the AntMedia server from Android: sending multiple WebRTC streams, which are not originating from phone camera, but rather an external camera connected to a device. With Android native WebRTC implementation this is possible, but haven't seen this to be supported as part of the AntMedia Android SDK. Is this option available somehow, just I don't see it in documentation?

Is there an alternative to use WebRTC from the Android device to your SDK? (for example, using native WebRTC library and connect to the AntMedia server)

Appreciate your assistance on this one.

Thank you!
Dario
Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Hi,

Our SDK can be thought as a free example we provide to the customers. For this case there is no such implementation from our end, however, server is perfectly capable of handling the requests if you develop the android application according to your needs. We use android native implementation in the SDK as a base and we have an example app on top of it. From the server side this can be done perfectly fine, on the android it will take some time to implement it, any commits are welcomed if you share your implementation with us, we will provide gifts in that case.

Cheers

 

Link to comment
Share on other sites

  • 0

Hi again,

just to confirm we were able to adjust our solution to connect to the Ant Media server via native WebRTC. One question though: is there a way to configure AntMedia to support multiple video tracks for the same stream? (situation which is supported by native webrtc, but doesn't seem to be working out of the box with AntMedia server - sending for example 2 video tracks as part of the same stream / same connection)

Thanks in advance!

 

Link to comment
Share on other sites

  • 0

Hi Dario,

Actually this is what I am working on right now. The server does kind of support the multiple tracks for a single stream, however, the codes needs a refactor. The new work I am doing will be available in 2.3.2, we are about to release 2.3.1 and it won't be ready in 2.3.1 sadly. Follow this issue on github and please comment on it if you have a suggestion.

Cheers
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...