[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
T46G - Display IP Cam Picture or MJPG Video Stream via DSS Key
Author Message
jolouis Offline

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #10
RE: T46G - Display IP Cam Picture or MJPG Video Stream via DSS Key
(04-07-2017 07:07 AM)dialog-se Wrote:  That's almost exactly how we tried to do it....

It turned out that the whole process from pressing the DSS button to actually seeing the picture would take almost 10 seconds, and most of that was not caused by ffmpeg having to connect to the camera first (also it didn't look nice as the screen would flash multiple times)

Not suggesting this is a proper solution at all, but in our test we solved the delay problem by basically turning the script into a small daemon and leaving it running on the background of our Asterisk box (linux server). Same sort of idea as you had, except it was on a loop to grab a new frame every second or two, resize it and save it to the same file in a tmp ram drive directory over and over. That way the Yealink XML just had to pull in the already generated file which was no slower than loading any other image.

(We actually reduced the overhead even more because the Hikvision camera we were using supported multiple output streams, so we were able to configure a lower resolution one for this specific application, which meant it took almost no processing power to leave our "interpretter script" running all the time).

Native MJPEG support (or at least grabbing and just displaying the first frame of an MJPEG stream) would be much easier of course, but I wouldn't be surprised if there'd still be a delay incurred during stream start up...
(This post was last modified: 04-07-2017 01:29 PM by jolouis.)
04-07-2017 01:29 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 

Messages In This Thread
RE: T46G - Display IP Cam Picture or MJPG Video Stream via DSS Key - jolouis - 04-07-2017 01:29 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  t46g: intercom over speaker rather than headset? asinshesq 23 59,313 07-28-2021 11:04 PM
Last Post: russman
  Bug on XML Browser Image display Tercio 1 3,522 05-22-2019 02:54 AM
Last Post: Mike_Yealink
  T46G - Disable Line Key Configuration ? timalex 13 31,926 04-12-2019 09:23 AM
Last Post: Johnny88
  T46G Call Fwd DSS Key enables / disables ALL fwd types MintTelecom 4 11,118 02-06-2018 05:28 AM
Last Post: Aishion_Yealink
  Automatic message display on T29G yc12843 2 6,400 01-25-2018 08:58 PM
Last Post: yc12843
  T46G -- BUG Tyler 1 4,689 09-29-2017 05:58 AM
Last Post: Lucia_Yealink
  T52S on call DSS key display too short tima 3 7,329 08-22-2017 01:13 AM
Last Post: Aishion_Yealink
  2 T46G Phones; Different BLF behavior phoneguy797 7 29,908 04-13-2017 09:33 AM
Last Post: auch
  T29G Display ghosting Chris708 2 6,120 03-14-2017 01:18 PM
Last Post: Chris708
Sad Updating Network on phone display ebrahimkarimi 4 12,818 11-16-2016 01:43 PM
Last Post: Karl_Yealink

Forum Jump:

User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication