Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c689f5f authored by Lajos Molnar's avatar Lajos Molnar Committed by Gerrit Code Review
Browse files

Merge changes from topic "200609_ViLTE_sync"

* changes:
  Miscellaneous fixups for VT contribution update.
  VT: ARTPWriter: Introduce Moderator logic
  VT: ARTPWriter: Add traffic recorder
  VT: Migration AAVCAssembler patches to AHEVCAssembler.
  VT: Enhancements on RTP depacketizer (2)
  VT: Refine codes in AAVCAssembler.
  VT: RTCP:NACK implementation. (RFC-4585)
  VT: Report all data about packet receiving up to application
  VT: Enhancements on RTP depacketizer
  VT: Enhancements on RTP packetizer.
  VT: Added an interface to set JitterBufferTime.
  VT: Some parameters not provided to encoder if source is surface.
  VT: H265: prepend VPS/SPS/PPS to I-frame.
  VT: Change to KMP algorithm for searching H.264 start prefix code
  VT: ARTPWriter: StripStartcode() & SpsPpsParser() bug fix
  revert ARTPWriter StripStartcode fix
  media: further miscellaneous fixes to VT contribution
  media: miscellaneous fixes to VT contribution
  VT: DSCP implementation.
  VT: SFR: Added missing rtp-param-opponent-id in stagefright.
  VT: SFP: bind socket to specific network
  VT: SFR: bind socket to specific network.
  VT: Remove assertion in send() function.
  VT: ARTPConnection: added an event to notify first-rtcp packet.
  VT: Print assembler queue status for the first frame
  VT: Enlarge jitter buffer range from 200ms to 300ms
  VT: Postpone bitrate down for considering camera switch
  VT: Rotation parameter should be applied only for video call.
  VT: Add OMX_Video_ControlRateConstant feature
  VT: OMX_ErrorStreamCorrupt should be skipped only for RTP scenario.
parents b2bb385e d9b59579
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -697,7 +697,7 @@ status_t BnMediaPlayer::onTransact(
        }
        case SET_DATA_SOURCE_RTP: {
            CHECK_INTERFACE(IMediaPlayer, data, reply);
            const String8& rtpParams = data.readString8();
            String8 rtpParams = data.readString8();
            reply->writeInt32(setDataSource(rtpParams));
            return NO_ERROR;
        }
+4 −1
Original line number Diff line number Diff line
@@ -180,7 +180,10 @@ enum media_parameter_keys {
    KEY_PARAMETER_PLAYBACK_RATE_PERMILLE = 1300,                // set only

    // Set a Parcel containing the value of a parcelled Java AudioAttribute instance
    KEY_PARAMETER_AUDIO_ATTRIBUTES = 1400                       // set only
    KEY_PARAMETER_AUDIO_ATTRIBUTES = 1400,                       // set only

    // Set a Parcel containing the values of RTP attribute
    KEY_PARAMETER_RTP_ATTRIBUTES = 2000                       // set only
};

// Keep INVOKE_ID_* in sync with MediaPlayer.java.
+1 −1
Original line number Diff line number Diff line
@@ -292,7 +292,7 @@ private:
    Mutex                       mLock;
    Mutex                       mNotifyLock;

    int                         mOutputFormat;
    output_format               mOutputFormat;
};

};  // namespace android
+2 −2
Original line number Diff line number Diff line
@@ -244,7 +244,7 @@ status_t MediaRecorder::setOutputFormat(int of)
        mCurrentState = MEDIA_RECORDER_ERROR;
        return ret;
    }
    mOutputFormat = of;
    mOutputFormat = (output_format)of;
    mCurrentState = MEDIA_RECORDER_DATASOURCE_CONFIGURED;
    return ret;
}
@@ -745,7 +745,7 @@ void MediaRecorder::doCleanUp()
    mIsAudioEncoderSet = false;
    mIsVideoEncoderSet = false;
    mIsOutputFileSet   = false;
    mOutputFormat      = 0;
    mOutputFormat      = OUTPUT_FORMAT_DEFAULT;
}

// Release should be OK in any state
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ cc_library {
        "android.hardware.media.c2@1.0",
        "android.hardware.media.omx@1.0",
        "libbase",
        "libandroid_net",
        "libaudioclient",
        "libbinder",
        "libcamera_client",
Loading