Open Bug 1151134 Opened 9 years ago Updated 2 years ago

Improve external encoder verification

Categories

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

defect

Tracking

()

Tracking Status
firefox40 --- affected

People

(Reporter: drno, Unassigned)

References

Details

Attachments

(1 file)

Bug 1148572 fixed the re-use of an external encoder with existing code.

We should replace that quick fix, with cleaner code which allows to verify if an external encoder is set already. If it exists re-use it only if it has the matching config and otherwise properly free the old and create a new encoder.
This should a better solution then relying on a plugin ID to not zero.
Attachment #8588238 - Flags: feedback?(rjesup)
Comment on attachment 8588238 [details] [diff] [review]
bug_1151134_external_codec.patch

Review of attachment 8588238 [details] [diff] [review]:
-----------------------------------------------------------------

I'd like to see if we can make this at least fairly easily extendable to other external codecs.  Perhaps they'd still need code here, but it could be more combined and clearer.  However, we could do that when we add another external encoder type.  (Hmm, what about the VP8 work Intel did?)
Attachment #8588238 - Flags: feedback?(rjesup) → feedback+
Rank: 45
Priority: -- → P4
backlog: --- → webRTC+
Mass change P4->P5 to align with new Mozilla triage process.
Priority: P4 → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: