-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
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:
Line 209 in 0896785
| # Here there's always a byte with the value of 0x02, |
Metadata
Metadata
Assignees
Labels
No labels
