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
3
votes
0 answers

How can I change the audio device for a WebRTC publishing stream while running an AudioContext script processor?

For the purposes of this example, I am using the basic publish HTML/js code from an Ant Media Server application (see https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/index.html). (Note - I'm actually using the enterprise edition…
Ben Holness
  • 2,457
  • 3
  • 28
  • 49
3
votes
0 answers

Setup Antmedia Video streaming with custom camera

I am new in video streaming related project! I Create a streaming server with ant media. Its working fine with opengl GLSurfaceView. But I want to replace this GLSurfaceView with custom cameraview. But I'm unable to figure out how to do it. I seen…
SSS
  • 31
  • 3
3
votes
2 answers

Video Stretching in Ant Media Community Edition

If I am streaming from android webrtc SDK (provided by antmedia) to community edition of Ant Media, the final video which is being saved, appears stretched (shot in portrait mode of mobile). Check the screenshot of the video. But if I am using the…
2
votes
1 answer

E: Package 'libcrystalhd-dev' has no installation candidate,

Package libcrystalhd-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libcrystalhd-dev' has no installation…
Vaakura
  • 21
  • 1
2
votes
0 answers

Websocket keeps disconnecting with new ant media SDK

We upgraded the SDK from 2.2.1 to 2.3.2, but did not change anything in our js application (we did not find updates of the documentation). We had no issues with the previous SDK and we are still using it in production. When i connect to the…
Rin3
  • 119
  • 1
  • 10
2
votes
0 answers

Use AntMedia server with standard WebRTC APIs

My problem is that I need to use AntMedia Enteprise with these Java APIs, which are compliant with the WebRTC standard: https://shannah.github.io/CN1WebRTC/javadoc/ but AntMedia's documentation only refers to their own SDKs, without indicating how…
Francesco Galgani
  • 6,137
  • 3
  • 20
  • 23
2
votes
1 answer

Server does not send new stream via websocket after new release

We had set a new server with the last release The issue is that when a user publish a stream video and that another one connects to room, the server sends streams via websocket to all new comer via the streams array sent with joinedTheRoom message.…
Rin3
  • 119
  • 1
  • 10
2
votes
1 answer

upload a .mp4 video using the REST API (VoD) to ant media server

when uploading my video,I get the following error message: {"success": false, "message": "notMp4File", "dataId": null, "errorId": 0} except here is my file; it's in .mp4 extension: 1- Introduction---.mp4 (type: "video/mp4"; size: 1255840 bytes)
Berthold Feujo
  • 338
  • 5
  • 12
2
votes
1 answer

Embed logo in antmedia live stream via canvas

Am following the blog at https://antmedia.io/how-to-merge-live-stream-and-canvas-in-webrtc-easily/ that explains how to embed a logo in antmedia live stream. However, I couldn't quite figure out to initialise a localStream with javascript SDK as…
davidwaf
  • 299
  • 2
  • 9
2
votes
1 answer

getting 403 in Ant media rest api

I've tried to call api with postman and put IP filter already. I can access ANT api from postman with path parameters. But I can not access api exactly like in the Ant rest documentation. For instance getting broadcast item in Ant api…
kpk
  • 29
  • 6
2
votes
1 answer

How to send post request in Python for Ant media API

I am trying to write a python HTTP request code to send the data to Ant media server through one of its API. But I unable to send POST request however I was successful in GET requests. import requests url =…
2
votes
0 answers

Can't able to Play RTMP Voice Stream in ExoPlayer

When I stream Video with Audio I could able to play both Audio and Video in receiver side, When I stream Audio alone I Can't able to Play Audio in receiver side. private void initializePlayer(String rtmpUrl) { Intent intent = getIntent(); …
1
vote
0 answers

Issue with Sending Stream after Reconnecting to Ant Media Server Android SDK

We are encountering a challenge related to the Ant Media Server Android SDK while dealing with stream reconnection scenarios. I would like to provide you with a detailed overview of the issue we are facing. We have two devices, Device A (using the…
1
vote
0 answers

How to use antmedia server webrtc_adaptor in my angular project

When I implemented it, it was unable to find WebRTC adaptor from node_modules/antmedia/webrtc_adaptor.js so I created a folder in node_modules/@types named by webrtc_adaptor in which I added index.d.ts and paste the code in that file: declare module…
1
vote
0 answers

android antmedia webrtc switch camera to Screen Sharing and vice versa

I'm using webrtc-android-framework module provided by Antmedia official website. I was able to make connection and I can see the video published on the other side without any issues. However I'm unable to switch from camera to screen sharing. I'm…
Vijay E
  • 829
  • 10
  • 14
1
2 3