Mixer recording issue

Arif Butt

Member
Hi there,

we are using video chat API with mixer based recording functionality, however we have faced an issue with one recording that only one party appeared in the video recording while the video chat was done successfully with 2 parties, please see the attached log file and assist that why this issue was faced.

The recording file reference name is dfede6bd-ee59-4ad0-be75-a6adb40de3a7


Thnks
AB
 

Attachments

Admin

Administrator
Hello

You had two party videochat and one party was not recorded in the mixer output.
This means that one participant has been removed from Mixer.

A participant can be removed from Mixer in two cases:
1. User has stopped publishing
2. User had too bad channel to be in the Mixer.

Therefore you need to know User details (nickname, stream name, IP address). And time when the user was joined to the room. In such a case, the log can be helpful because we will be able to find a point when user joined and point when user left the mixer. For now it is not possible because we don't know user details.
 

Arif Butt

Member
Hi there,

Thank you for your mail, Please find the following information regarding the session, there are lots of entries in the provided log file with the stream dfede6bd-ee59-4ad0-be75-a6adb40de3a7.

"nodeId" : "9GRMP2d4oSwQzqOncx9dRZ58B39j4Ad9@10.200.131.253",
"appKey" : "defaultApp",
"sessionId" : "mixer://10.91.9.83-70ea5c38-d807-4708-b2eb-26e22b373774",
"mediaSessionId" : "dfede6bd-ee59-4ad0-be75-a6adb40de3a7",
"name" : "10.91.9.83",


Kindly feedback


Thnx
AB
 

Admin

Administrator
"mediaSessionId" : "dfede6bd-ee59-4ad0-be75-a6adb40de3a7",
It is media session ID of the Mixer itself.

We would like to know sessionId, mediaSessionId or streamName which was not recorded
You can also check logs/cdr/sdr.log to see all published streams.
 

Arif Butt

Member
Hi there

SDR file does not have any entries, but please check the following sessionID which has both parties info...

"sessionId" : "/10.91.9.83:54588/172.16.66.6:8443-4e61043c-7115-4fe9-8592-4d90b74e79f0",


Thnx
AB
 

Arif Butt

Member
Since this is happening repeatedly ... Please let us know if there is any way to find out that there is only one party in mixer recording so we can terminate the session... instead of blindly recording a single party recording.
 
Last edited:

Max

Administrator
Staff member
Hello


You can monitor mixer state using method find_all

1) /mixer/find_all

1684771973859.png


For example on the sample, you can see:

1. Mixer "mixer://m1" is working.
2. The mixer is processing streams: "stream1", "desktop", "stream2".

Then you can do find_all streams

/stream/find_all

If you are using Room API, then you will see something like this:

stream1#m1
stream2#m1
desktop#m1

These three streams should have status PUBLISHING.
Well. Mixer find_all says that you have 3 streams in the mixer. Stream find_all says that you have 3 streams in the Room and all stream names are equal. Therefore Mixer state is good and all the streams should be recorded properly.

If you did a few probes and Mixer state is incomplete.
I.e. Mixer find_all says that you have 1 stream in the mixer, however Stream find_all says that you have 3 streams in the room.
Then you can do /mixer/terminate to stop mixer and stop associated recording. Or you can just monitor similar incidents and find what stream was not added into the Mixer properly or was ejected from the Mixer.
 
Top