Jump to content
  • 0

WebRTC SDP and Ant Media Server: can i force both client and server use H.264 encoding for WebRTC transmission?


Valery Kharisov
 Share

Question

Hello, guys!

I implementing some project, using Ant Media Server, and I want to use H.264 encoding on publisher side and client side with Community version of Ant Media and JS SDK you provided.

Can you please tell me, can I force using, for example H264 encoding for client publish if it's available? Whatever if it's in EE or Community version of the Ant Media Server


How does SDK choose, what codec to use in current WebRTC publish on client?


How can i check which codec are using in my current WebRTC published stream?

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
Hi Valery,

Ant Media Server accepts only H264 encoding. It doesnt accept if it is not sent in H264.

Hope this helps.

On Monday, August 26, 2019 at 9:00:05 AM UTC+2, Valery Kharisov wrote:
Hello, guys!

I implementing some project, using Ant Media Server, and I want to use H.264 encoding on publisher side and client side with Community version of Ant Media and JS SDK you provided.

Can you please tell me, can I force using, for example H264 encoding for client publish if it's available? Whatever if it's in EE or Community version of the Ant Media Server


How does SDK choose, what codec to use in current WebRTC publish on client?


How can i check which codec are using in my current WebRTC published stream?

Link to comment
Share on other sites

  • 0
Hello, thanks for you responce!

As far as I can see, when i check webrtc connection with webrtc getstats API it's show me that on the browser side it's using VP9 or VP8 on video.
Does ant media server perform some reencoding for this, to serve hls clients?

вторник, 27 августа 2019 г., 2:17:39 UTC+5 пользователь Murat Aydin написал:
Hi Valery,

Ant Media Server accepts only H264 encoding. It doesnt accept if it is not sent in H264.

Hope this helps.

On Monday, August 26, 2019 at 9:00:05 AM UTC+2, Valery Kharisov wrote:
Hello, guys!

I implementing some project, using Ant Media Server, and I want to use H.264 encoding on publisher side and client side with Community version of Ant Media and JS SDK you provided.

Can you please tell me, can I force using, for example H264 encoding for client publish if it's available? Whatever if it's in EE or Community version of the Ant Media Server


How does SDK choose, what codec to use in current WebRTC publish on client?


How can i check which codec are using in my current WebRTC published stream?

Link to comment
Share on other sites

  • 0
Hi Valery,

In CE, in receives VP8 and Vp9 an converts to H264.

Hope this helps.

Best regards,

On Tuesday, August 27, 2019 at 9:21:01 AM UTC+2, Valery Kharisov wrote:
Hello, thanks for you responce!

As far as I can see, when i check webrtc connection with webrtc getstats API it's show me that on the browser side it's using VP9 or VP8 on video.
Does ant media server perform some reencoding for this, to serve hls clients?

вторник, 27 августа 2019 г., 2:17:39 UTC+5 пользователь Murat Aydin написал:
Hi Valery,

Ant Media Server accepts only H264 encoding. It doesnt accept if it is not sent in H264.

Hope this helps.

On Monday, August 26, 2019 at 9:00:05 AM UTC+2, Valery Kharisov wrote:
Hello, guys!

I implementing some project, using Ant Media Server, and I want to use H.264 encoding on publisher side and client side with Community version of Ant Media and JS SDK you provided.

Can you please tell me, can I force using, for example H264 encoding for client publish if it's available? Whatever if it's in EE or Community version of the Ant Media Server


How does SDK choose, what codec to use in current WebRTC publish on client?


How can i check which codec are using in my current WebRTC published stream?

Link to comment
Share on other sites

  • 0
Thanks, I request trial version to check this one out

четверг, 29 августа 2019 г., 1:20:13 UTC+5 пользователь Murat Aydin написал:
Hi Valery,

In CE, in receives VP8 and Vp9 an converts to H264.

Hope this helps.

Best regards,

On Tuesday, August 27, 2019 at 9:21:01 AM UTC+2, Valery Kharisov wrote:
Hello, thanks for you responce!

As far as I can see, when i check webrtc connection with webrtc getstats API it's show me that on the browser side it's using VP9 or VP8 on video.
Does ant media server perform some reencoding for this, to serve hls clients?

вторник, 27 августа 2019 г., 2:17:39 UTC+5 пользователь Murat Aydin написал:
Hi Valery,

Ant Media Server accepts only H264 encoding. It doesnt accept if it is not sent in H264.

Hope this helps.

On Monday, August 26, 2019 at 9:00:05 AM UTC+2, Valery Kharisov wrote:
Hello, guys!

I implementing some project, using Ant Media Server, and I want to use H.264 encoding on publisher side and client side with Community version of Ant Media and JS SDK you provided.

Can you please tell me, can I force using, for example H264 encoding for client publish if it's available? Whatever if it's in EE or Community version of the Ant Media Server


How does SDK choose, what codec to use in current WebRTC publish on client?


How can i check which codec are using in my current WebRTC published stream?

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