Questions tagged [ant-media-server-sdk]

And Media Server is a streaming server. Use this tag ONLY for questions related to PROGRAMMATIC use of Ant Media Server's SDK. Make sure your question also has tags related to the programming language or framework you are using. Questions about configuration or general troubleshooting of the streaming server are off-topic.

Ant Media Server is an open source media streaming platform you can use to publish your video using WebRTC and RTMP. It also supports HLS (HTTP Live Streaming) and MP4 as well. For different verticals and requirements, adaptive bitrate and scalable solutions (for hundreds of thousands of users) are also provided.

40 questions
1
vote
1 answer

Ant media webrtc connecting to server gives java.security.cert.CertPathValidatorException

I'm trying to connect to Ant media webrtc server wss://abcd.com:1234/demoApp/websocket. However it always throws. de.tavendo.autobahn.WebSocketReader: java.security.cert.CertPathValidatorException: Trust anchor for certification path not…
Vijay E
  • 829
  • 10
  • 14
1
vote
0 answers

VideoFram frame to byte array

I'm using the Ant Media SDK to develop a webRTC capable app. The thing is that I need to send some frames every 300 ms to a recognition service. I have found that there's a listener that pass the frames: …
Carlos Molero
  • 63
  • 1
  • 2
  • 8
1
vote
1 answer

Add Stream name to published stream

I am currently publishing a stream this way with the SDK webRTCAdaptor.publish(streamId, null); Is it possible to add a stream name to a stream (apart from streamId) when publishing with antMedia SDK or add a name to the VOD ? Otherwise, is it…
Rin3
  • 119
  • 1
  • 10
1
vote
1 answer

Publish audio when already publishing video with Ant Media

I try to reproduce a classroom in which a teacher will publish video and audio and student only video at first. Students can raise hand and teacher can accept to leave the student speak (all with dataChannel). I tried to change the mediaConstraints…
Rin3
  • 119
  • 1
  • 10
1
vote
1 answer

Ant Media Server embed code doesn't work properly in wordpress

I'm using AMS 2.1. I want to use embed video code on my Wordpress page. But my embed code doesn't work properly. What is the main problem? How can I solve this issue?
EMK
  • 133
  • 1
  • 10
1
vote
0 answers

live video streaming from python open cv to FE angular

I have my python code which will read a video from localfile system triggers a ML model and saves the video to localfile system continuously using open cv. here instead of storing it to localfile system i was to stream it to FE application. I am…
sanil mendonca
  • 63
  • 2
  • 10
1
vote
1 answer

bigbluebutton setting.yml viewersInWebcam parameter is not working as expected

The parameter viewersInWebcam placed under /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml is not working as expected. What is the role of this parameter? As the name suggested it is controlling number of viewers webcam in a…
Hamid
  • 57
  • 2
  • 7
1
vote
0 answers

cameraViewRender and pipViewRender

In the AntMedia Android Sdk documentation https://github.com/ant-media/Ant-Media-Server/wiki/WebRTC-Android-SDK-Documentation, there is the following code. What are cameraViewRender and pipViewRender? Why are there these two Views? …
Francesco Galgani
  • 6,137
  • 3
  • 20
  • 23
1
vote
1 answer

HLS playback problems

Using Enterprise Edition 1.9.1 official AMI on AWS. Scenario: Ant Media Server application is configured to use ABR with 360, 480, 720 resolutions. The player-side code polls the HLS stream URL waiting for the stream to start. Expected…
1
vote
1 answer

How can I ask from Ant Media Server the number of current viewers

I tried in this way: netstat -a | grep EST|grep -v localhost| grep \:5080| cut -d' ' -f 16-17|cut -d':' -f1|sort|uniq|wc -l But it obviously can't show viewers from same ip. Surely there is a better way to do this... Thank you!
kibmc
  • 13
  • 2
1
vote
0 answers

How to setup Live Streaming on Android app using AWS/GCP?

I'm developing an android app where user can start live streaming using his/her android-camera. I have AWS & GCP resources at hand. What I understand after some reading is, I have to stream/publish, whatever android-camera is picking, to some…
0
votes
0 answers

Ant Media Server

I am trying to broadcast a video file with music however it is taking too long to upload the VOD file for Ant Media Server I tried separating the files into the video file and audio file which made the upload smoother. However, when I try to…
0
votes
1 answer

Increasing Ant Media System Disc Size

How to increase Ant Media System Disc Size via external or extra hard drives Running on Ubuntu 18.4 Server Edition? Not done anthing other than mounting an external hard drive to my home server.
0
votes
0 answers

Add bounding boxes to AntMedia streaming

I have a WebRTC streaming coming from an AntMedia server. The stream is forwarded to an AI service that recognizes people and returns a streaming of JSON objects containing the coordinates and sizes of the bounding boxes. I want to draw these…
0
votes
1 answer

Ant Media Server WebRTC connection in Unity

I've been following this tutorial : https://antmedia.io/webrtc-streaming-in-unity/ in order to try and receive a WebRTC stream into unity. I've downloaded the https://github.com/ant-media/WebRTC-Unity-SDK WebRTC unity SDK. I created a Ant Server on…
ElRosbif
  • 353
  • 1
  • 6
  • 18