Can the RemoteStream or the LocalCameraStream use to android parcelable?
To pass them (remotestream and localcamerastream) as a parameter between Activity and service.
Error:
java.lang.RuntimeException: Parcel: unable to marshal value com.intel.webrtc.base.LocalCameraStream@1b36b6b
at android.os.Parcel.writeValue
How to do if i use remotestream or localcaerastream as a parameter to pass from activity to service.
Hi Allen, I'm afraid that LocalCameraStream is not parcelable.
It is perhaps not a easiest or perfect way, but a static class holding the streams could probably do as what you want.
btw, do you have any special use cases that you'd like to pass LocalCameraStream to a service?
For more complete information about compiler optimizations, see our Optimization Notice.