Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
1136 Discussions

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

allen_w_
Beginner
1,097 Views
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.

0 Kudos
1 Reply
He_Z_Intel
Employee
1,097 Views

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? 

Reply