| Index: talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| diff --git a/talk/app/webrtc/objc/public/RTCStatsDelegate.h b/talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| similarity index 77%
|
| copy from talk/app/webrtc/objc/public/RTCStatsDelegate.h
|
| copy to talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| index 54e8e569a14e3e6dc5564885e98bcc01375ef090..2f14e6dec0b40b77b1f6d03be0ef639387b4d0db 100644
|
| --- a/talk/app/webrtc/objc/public/RTCStatsDelegate.h
|
| +++ b/talk/examples/objc/AppRTCDemo/ARDSDPUtils.h
|
| @@ -1,6 +1,6 @@
|
| /*
|
| * libjingle
|
| - * Copyright 2014 Google Inc.
|
| + * Copyright 2015 Google Inc.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions are met:
|
| @@ -27,13 +27,15 @@
|
|
|
| #import <Foundation/Foundation.h>
|
|
|
| -@class RTCPeerConnection;
|
| +@class RTCSessionDescription;
|
|
|
| -// RTCSessionDescriptionDelegate is a protocol for receiving statistic
|
| -// reports from RTCPeerConnection.
|
| -@protocol RTCStatsDelegate<NSObject>
|
| +@interface ARDSDPUtils : NSObject
|
|
|
| -- (void)peerConnection:(RTCPeerConnection*)peerConnection
|
| - didGetStats:(NSArray*)stats; // NSArray of RTCStatsReport*.
|
| +// Updates the original SDP description to instead prefer the specified video
|
| +// codec. We do this by placing the specified codec at the beginning of the
|
| +// codec list if it exists in the sdp.
|
| ++ (RTCSessionDescription *)
|
| + descriptionForDescription:(RTCSessionDescription *)description
|
| + preferredVideoCodec:(NSString *)codec;
|
|
|
| @end
|
|
|