I'm running into an issue with the following code. You can see that it's inserting an 0x02 and 0x08 where it shouldn't (see the right side of the diff). The left side is the correct output.
custom_payload = FLVObject()
custom_payload["audioBandwidth"] = struct.pack(">d", 64000.0)
custom_payload["audioChannels"] = struct.pack(">d", 1.0)
custom_payload["audioFrequency"] = struct.pack(">d", 48000.0)
custom_payload["channelId"] = struct.pack(">d", 0.0)
payload = create_script_tag('onMetaData', custom_payload, 0)

I think this is the code inserting it:
|
# Here there's always a byte with the value of 0x02, |
I'm running into an issue with the following code. You can see that it's inserting an
0x02and0x08where it shouldn't (see the right side of the diff). The left side is the correct output.I think this is the code inserting it:
flvlib/lib/flvlib/tags.py
Line 209 in 0896785