Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
78 Views

java.lang.RuntimeException: Parcel: unable to marshal value com.intel.webrtc.base.LocalCameraStream

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.

Tags (2)
0 Kudos
1 Reply
Highlighted
Employee
78 Views

Hi Allen, I'm afraid that

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? 

0 Kudos