20050923Working Diary-- user defined message in Openh323

博客记录了在openh323中找到发送用户自定义消息的方法,如会议成员列表等。还成功为虚拟会议系统添加运行时根据参会人数改变视频显示数量的功能,修改消息传输机制,在服务器和客户端间用特定方法传消息,动态增减3D场景视频显示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

am:

         Found the method in openh323 to send user defined messages, such like the conference member list, member names......:

  1. H323Connection::SendUserInputIndication -- send user defined message
  2. H323Connection::OnUserInputIndication -- auto receive user defined message

pm:

        I successed added the function that the Virtual Meeting system could at run time change the number of video displayed, depending on the number of participantants of conference.

  1. Modified the message transfering mechanism, delivering the joining and leaving of member to every members left. Using following methods to transfer message between server and client.
    • OnUserInputString( on client )
    • SendUserInput( on server )
  2. Got number of members of conference when the number is changed. Here we used a small skill. Because the control message need to be placed mixing with common user input message, we added key words in the message and abstracted it to get the control commands
  3. Dynamicly increased or decreased the displayed video in 3D scene according to the number of members. All the manipulations fastened on the function CVideoTexture3D::Render, in which the video is calculated and rendered.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值