microsoft / BotBuilder-RealTimeMediaCalling

BotBuilder-RealTimeMediaCalling extends the BotBuilder to enable bots to engage in Skype audio-video calling. It provides real-time, programmable access to the voice, video, and screen sharing streams of a Skype call. The bot is a direct participant in a Skype 1:1 call.
MIT License
76 stars 36 forks source link

Video playback upside down #29

Closed pfeifel closed 7 years ago

pfeifel commented 7 years ago

I am sending video frames in VideoFormat.Rgb24_424x240_15Fps and they are played on the client upside down.

Any idea what could cause this?

waboum commented 7 years ago

Hey,

The RGB file you are trying to stream was probably generated with bottom-up DIB, meaning the frame starts with the bottom row of pixels. Can you please generate it with top-down DIB or change the format to YUV to avoid this issue, since DIBs in YUV formats are always top-down. For more details: https://msdn.microsoft.com/en-us/library/windows/desktop/dd407212(v=vs.85).aspx

pfeifel commented 7 years ago

Thanks. That was it.