Hi,
First let me say thank you for the great work. I'm building a Android in-car system and I'll use AirPlay to support streaming of iOS audio, photos and video and your project gives me a huge head start.
Now to the issue. When I tested with iOS 5.1.1 the RaopAudioHandler was throwing an exception because one of the SDP attributes have a dash '-' and the regular expression does not support it.
The attribute is: 'min-latency'
I have changed the regular expression to be:
protected static Pattern s_pattern_sdp_a = Pattern.compile("^(\w+):?(.*)$");
That can be improved to be more restrictive, but that is working fine at the moment.
I have also changed it to protected to allow for the JUnit to have access to the field and run the unit tests.
Cheers,
Rafael
Hi,
First let me say thank you for the great work. I'm building a Android in-car system and I'll use AirPlay to support streaming of iOS audio, photos and video and your project gives me a huge head start.
Now to the issue. When I tested with iOS 5.1.1 the RaopAudioHandler was throwing an exception because one of the SDP attributes have a dash '-' and the regular expression does not support it.
The attribute is: 'min-latency'
I have changed the regular expression to be:
protected static Pattern s_pattern_sdp_a = Pattern.compile("^(\w+):?(.*)$");
That can be improved to be more restrictive, but that is working fine at the moment.
I have also changed it to protected to allow for the JUnit to have access to the field and run the unit tests.
Cheers,
Rafael