667bdrm / sofiactl

sofiactl is an open source cross-platform tool and sdk to control Sofia powered Hi35xx DVR devices
80 stars 22 forks source link

ChannelTitleSet #5

Closed angrycoding closed 4 years ago

angrycoding commented 5 years ago

HI, thank for reversing it. Played with it a little bit and found some weird thing. So calling ChannelTitleSet from CMS (software) - changing the title and also updates it immediately in the video stream (so the new title immediately appears on the video from the cam). Calling the same thing from you .pl script does update channel title, but nothing happens to video. So old channel title is still there. Why this can be?

vladisslav2011 commented 4 years ago

I've encountered this bug too. Fixed in https://github.com/vladisslav2011/sofiactl/commit/8ecc885f40648564b4366a38e38663fd34292bb0

angrycoding commented 4 years ago

I've encountered this bug too. Fixed in vladisslav2011@8ecc885

Btw, your commit doesnt fix it. I found the problem myself, and the fact us that setchanneltitle is not the thing that sets channel title in the stream. Instead there exists different method where bitmask of the desired overlay should be supplied