Open Bug 1474494 Opened 7 years ago Updated 3 years ago

[webrtc]How can I control the opus frame size in firefox?

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

61 Branch
defect

Tracking

()

People

(Reporter: joezhu3, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180323154952 Steps to reproduce: I use firefox(version 61) to test I set these lines under audio m line in SDP offer& SDP answer: m=audio 1 RTP/SAVPF 111 a=rtpmap:111 opus/48000/2 a=maxptime:60 a=ptime:60" means I want to sent 60ms packet size of OPUS Actual results: But firefox still send 20ms packet size Expected results: I want to sent 60ms packet size of OPUS. Seems that the a=ptime didn't make sense. So How can I control the opus packet size as I want?
I also tried minptime:60 but still didn't work Could you help?thanks
Component: Untriaged → WebRTC: Signaling
Product: Firefox → Core
As far as I can tell, we parse the ptime and maxptime attributes in sdp, but then don't actually use the values anywhere.
Status: UNCONFIRMED → NEW
Rank: 25
Component: WebRTC: Signaling → WebRTC: Audio/Video
Ever confirmed: true
Priority: -- → P3
Thanks for your reply. So do you have a way to control the opus send packet time as I want(i.e. 60ms)? acturlly it sent 20ms packet time now And do you have plan to support "ptime" attribute not only parse it?
:drno, what do you think about supporting ptime, assuming I'm correct, and we're only parsing it, not using it?
Flags: needinfo?(drno)

Clearing old needinfo.

Flags: needinfo?(drno)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.