This message was deleted.
# helpdesk
s
This message was deleted.
d
to terminate signaling problems one for send and another one for receive streams
f
Is it just me or the naming is confusing for you as well? Sender and Receiver would make more sense than Publisher and Subscriber, don't you think?
d
in my opinion it doesnt matter :)
f
Agree to disagree 😄. One quick question, If i want to monitor send and receive bitrate i need to look in the stats. How do i know which is which?
d
in go you can get stats using this code :
Copy code
room.LocalParticipant.GetPublisherPeerConnection().GetStats()
	room.LocalParticipant.GetSubscriberPeerConnection().GetStats()
in js you can use this code to get stats : for subscriber :
Copy code
function OnTrack(track, publication, participant) {
console.log(track.prevStats)
}
for publisher :
Copy code
const pub = await this.room.localParticipant.publishTrack(stream.getVideoTracks()[0], {source: Track.Source.Camera})
const stat = await pub.videoTrack.getSenderStats()
console.log(stat)
I dont know about other languages.