Python FBPlayerControl().SetPlaySpeed problem/bug(???)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
i'm trying to learn how to set the Transport play back speed through python - currently having a very strange result.
i was able to find the following attributes:
'kFBSpeed_10x', 'kFBSpeed_1_10x', 'kFBSpeed_1_2x', 'kFBSpeed_1_3x', 'kFBSpeed_1_4x', 'kFBSpeed_1_5x', 'kFBSpeed_1x', 'kFBSpeed_2x', 'kFBSpeed_3x', 'kFBSpeed_4x', 'kFBSpeed_5x', 'kFBSpeed_ALL_FR'
when i use them i do not get the respected results.
for example when i use:
FBPlayerControl().SetPlaySpeed(FBTransportPlaySpeed.kFBSpeed_1x)
print FBPlayerControl().GetPlaySpeed()
the result i get is my transport speed is set to "kFBSpeed_5x"
when i use:
FBPlayerControl().SetPlaySpeed(FBTransportPlaySpeed.kFBSpeed_2x)
print FBPlayerControl().GetPlaySpeed()
the result i get is my transport speed is set to "kFBSpeed_1x"
am i using this wrong or is this a bug?
thank you.