What does HRESULT 0xC00D1B98 (NS_E_MISSING_AUDIENCE) mean?

 
Previous Next
NS_E_NO_MULTIPASS_FOR_LIVEDEVICE NS_E_AUDIENCE_CONTENTTYPE_MISMATCH

NS_E_MISSING_AUDIENCE

How to interpret the code in a real encoding session

0xC00D1B98 is named NS_E_MISSING_AUDIENCE. Its practical scope is an output-tree reference points to an audience that is absent, which belongs to profile, audience and stream topology rather than to every part of Windows Media playback or Windows itself.

Mechanism and point of failure

A Windows Media Encoder profile declares content types and one or more audiences in a session that returns this result. Each audience maps source indexes to audio, video, script or file streams and must remain structurally consistent with the other audiences in a multiple-bit-rate profile.

Individual fields may be syntactically valid while the complete profile is inconsistent across audiences or does not match the source group in a session that returns this result. A typical reproduction is: profile editing removes an audience but leaves a child stream node pointing to it. This makes the first result from the Encoder more valuable than a later generic message.

Reproduction matrix

FieldWhat to preserve
Decisive valuesaudience indexes, output-tree nodes and AudienceCount before profile validation
Producing objectprofile name and content type, audience count and total bitrate, source indexes, stream types, language identifiers, selected audiences and result of IWMEncProfile2.Validate
Session correlationthe same source-group generation, audience index, object identity and callback sequence that produced this result
Lower-level evidencethe first COM, driver, file-system or codec HRESULT observed before the Encoder mapped the condition to this result
Controlled comparisona known-good session that changes only the setting named in the missing audience boundary

Evidence matrix

ObservationHow to interpret it
Observation that supports itThe decisive evidence is audience indexes, output-tree nodes and AudienceCount before profile validation. It confirms an output-tree reference points to an audience that is absent in the same object generation.
Observation that points to an earlier failureThe recorded values satisfy the missing audience rule, but a source, driver, COM activation or file operation returns a different HRESULT first.
Observation that points to a later failureThe Encoder passes this boundary (an output-tree reference points to an audience that is absent), but a codec, archive or broadcast sink then fails in a subsequent stage.
Verification after correctionApply this isolated change: restore the referenced audience or repair the index mapping. The original missing audience call should then advance past the same checkpoint.

The operational impact of it is limited to the profile, audience and stream topology transition that owns an output-tree reference points to an audience that is absent. In the representative case where profile editing removes an audience but leaves a child stream node pointing to it, keep the first failing call and its object identity so a later wrapper cannot replace the missing audience evidence.

Minimal experiment

  1. Record 0xC00D1B98, it, the Encoder version and the exact API call or property access that returned it.
  2. Export the current .wme or .prx configuration, then capture audience indexes, output-tree nodes and AudienceCount before profile validation.
  3. verify the profile, audience and stream topology precondition without changing the source, profile and output sink at the same time.
  4. Run one controlled comparison in which only this condition changes: restore the referenced audience or repair the index mapping.
  5. After the change, recreate the affected Encoder object rather than assuming the existing graph discarded its earlier missing audience state.

Do not collapse these results together

ResultWhy it is a different boundary
NS_E_PROFILE_MISMATCHswitching or combining sources whose assigned profiles are not equivalent for the session
NS_E_AUDIENCE_CONTENTTYPE_MISMATCHaudiences in one output tree declare different overall media content types
NS_E_MISSING_SOURCE_INDEXan audience stream lacks a source index mapping

What to change—and what to leave alone

Change the smallest responsible precondition: restore the referenced audience or repair the index mapping. While retesting it, keep all unrelated source, audience and output values fixed until the same call is repeated.

Do not repair a profile by deleting arbitrary audiences; export the.prx first and compare the same source index across every audience in a session that returns it.

Authoritative documentation


Looking for a different code? Search another status or error code.