@babblevoice/projectrtp 2.5.25 → 2.5.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babblevoice/projectrtp",
3
- "version": "2.5.25",
3
+ "version": "2.5.26",
4
4
  "description": "A scalable Node addon RTP server",
5
5
  "main": "index.js",
6
6
  "directories": {
@@ -872,21 +872,19 @@ void projectrtpchannel::readsomertp( void ) {
872
872
  goto readsomemore;
873
873
  }
874
874
 
875
- if( !this->recv ) {
876
- this->receivedpkskip++;
877
- goto readsomemore;
878
- }
879
-
880
875
  /* TODO ZRTP? */
881
876
  if( buf->getpacketextension() ) {
882
877
  this->receivedpkskip++;
883
878
  goto readsomemore;
884
879
  }
885
880
 
886
- this->tickswithnortpcount = 0;
887
-
888
881
  this->correctaddress();
889
882
 
883
+ if( !this->recv ) {
884
+ this->receivedpkskip++;
885
+ goto readsomemore;
886
+ }
887
+
890
888
  /*
891
889
  after speaking with Magrathea - more streams are changing ssrc without notice mid-stream
892
890
  for now do not check.
@@ -906,6 +904,8 @@ void projectrtpchannel::readsomertp( void ) {
906
904
  }
907
905
  */
908
906
 
907
+ this->tickswithnortpcount = 0;
908
+
909
909
  /* dynamic payload types */
910
910
  auto pt = buf->getpayloadtype();
911
911
  if( pt == this->ilbcpt ) {