TRVMicrophoneView does not work

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
mitzi
Posts: 31
Joined: Thu Oct 10, 2019 12:14 pm

TRVMicrophoneView does not work

Post by mitzi »

Hello,
I have TRVCamSound connected to TRVCamera and TRVMicrophoneView (default settings) connected to this TRVCamSound. When I play mp4 file with sound in TRVCamera (sound is hearable via connected TRVAudioPlayer) but TRVMicrophone does not show anything.

RVMedia 9.2, VCL, FFMPEG, Delphi 11.2, 64bit
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRVMicrophoneView does not work

Post by Sergey Tkachenko »

I confirm the bug with TRVMicrophoneView not working with TRVCamSound.
It will be fixed in the next update (planned on the next week).
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRVMicrophoneView does not work

Post by Sergey Tkachenko »

Fixed in v9.3 (just uploaded)
mitzi
Posts: 31
Joined: Thu Oct 10, 2019 12:14 pm

Re: TRVMicrophoneView does not work

Post by mitzi »

Now it works, but there's another problem. When I change camera to another one WITHOUT sound, latest peak stays visible in MicrophoneView. Is there any way to clear it?
BTW how can I find out whether audio is available for specified camera?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRVMicrophoneView does not work

Post by Sergey Tkachenko »

I'll fix it in the next update.
As a workaround, when switching a camera, you can call RVCamSound1.SetLevel(128). It will clear MicrophoneView.

There is no property for determining if the current video has sound. But when you start playing video using FFmpeg, MRVCamSound.OnGetAudioStreamIndex event occurs. This event has the count of audio streams in video as a parameter.
Post Reply