CCodec: limit webrtc.vp8 ts-schema to vp8 encoders

We don't keep track of the requested schema as before, and it
is confusing when e.g. an HEVC codec lists webrtc.vp8 schema
even if they are technically identically described.

Bug: 67591367
Test: manual verification
Change-Id: I824d18323de1c02c72ed2b2a7c9d10d1632ec4ea
diff --git a/media/sfplugin/CCodecConfig.cpp b/media/sfplugin/CCodecConfig.cpp
index b0eb518..bd66eee 100644
--- a/media/sfplugin/CCodecConfig.cpp
+++ b/media/sfplugin/CCodecConfig.cpp
@@ -1068,7 +1068,10 @@
             if (layering && layering->m.layerCount > 0
                     && layering->m.bLayerCount < layering->m.layerCount) {
                 // check if this is webrtc compatible
-                if (layering->m.bLayerCount == 0 &&
+                AString mime;
+                if (msg->findString(KEY_MIME, &mime) &&
+                        mime.equalsIgnoreCase(MIMETYPE_VIDEO_VP8) &&
+                        layering->m.bLayerCount == 0 &&
                         (layering->m.layerCount == 1
                                 || (layering->m.layerCount == 2
                                         && layering->flexCount() >= 1